| Author |
Play audio using JMF
|
yspl india
Greenhorn
Joined: Aug 08, 2005
Posts: 8
|
|
Hai, I am J.Shobana I am trying to play an audio wave file using Java Media Framework(JMF). I downloaded JMF 2.1.1e and set the JMFHOME and the corresponding CLASSPATH and PATH. I am not able to play the wave file. Whereas i am able to play the same wave file using ordinary Java program. The logic is first i am using URL url = new URL("file : path of the wave file"); Player player=null; player=Manager.createPlayer(url); player.start(); System.out.println("Finished"); player.stop(); player.close(); I get an error:unable to prefetch com.sun.media.PlaybackEngine Please give me a solution. Thanks in advance. With Regards, J.Shobana.
|
 |
 |
|
|
subject: Play audio using JMF
|
|
|