aspose file tools*
The moose likes Java in General and the fly likes which version of java supports audio? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "which version of java supports audio?" Watch "which version of java supports audio?" New topic
Author

which version of java supports audio?

shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
do reply?
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Shivi:

Can you clarify what you mean by 'supports audio'?

John.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
[i mean that i am currently using jdk1.7 and it is not supporting any audio package.please help.
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Shivi:

Well, since JDK 1.7 hasn't been officially released yet, that might be the problem. Is there a specific package or API that you're using?

John.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
import sun.audio.*;
i have used this in my source code.
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Shivi:

Classes in the sun.* packages are not intended for general use, and are "at your own risk". You might want to look for a third-party API.

John.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
how do we use third party API?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14428
    
  23

Java has always supported sound, even since before Java 1.0.

There are official APIs for sound. Don't use sun.* packages, use the official APIs instead. You don't need any third-party library or API unless you're going to do very special things that Java doesn't support by itself.

See Trail: Sound in Sun's Java tutorials to learn how to work with sound in Java.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which version of java supports audio?