|
||
|
|||
|
I have written a program that takes advantage of sun.audio objects. It compiles fine on my mac, but when I try to compile it on a Windows or Linux computer, it warns that sun.audio might be removed in a future release, and wont let it compile. I want to be able to compile it so it will run better on them (I can copy over compiled files and run it, but the performance isn't good). How do I manage this?
|
|
||||
|
Are you using an IDE? If so, which one? It should let you compile even if it's a soon to be removed feature.
Have you looked into the Sound API? It might be able to do the samething you want from the sun.audio.
__________________
ASCII a question .. Get an ANSI Please surround your code with [highlight=Java]code goes here[/highlight]. |
|
||||
|
I know that the Sound API can play audio and MIDI in a regular application as well as an applet.
Here's a link to a tutorial for using the Sound API: Java Sound I did some research on the sun.audio API, and it looks like it's extremely old. There were articles from over 10 years ago that gave tutorials about using the sun.audio API. I think Sun might have replaced the sun.audio API with the Sound API.
__________________
ASCII a question .. Get an ANSI Please surround your code with [highlight=Java]code goes here[/highlight]. Last edited by helloworld922; 12-11-2009 at 05:19 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to detect audio input from a telephone call? | ces_31 | Java Theory & Questions | 0 | 12-08-2009 05:45 AM |