wood burning stoves 2.0*
The moose likes Java in General and the fly likes Play audio using JMF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Play audio using JMF" Watch "Play audio using JMF" New topic

Play audio using JMF

yspl india

Joined: Aug 08, 2005
Posts: 8
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;

I get an error:unable to prefetch com.sun.media.PlaybackEngine

Please give me a solution. Thanks in advance.

With Regards,
I agree. Here's the link: http://aspose.com/file-tools
subject: Play audio using JMF
Similar Threads
JMF-RTP audio. please help.
Playing Audio file using JMF
problem with JMF on Linux
working with JMF
Playing Audio on Web Server via Applet using JMF