Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes Playing 16-bit stereo files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Playing 16-bit stereo files" Watch "Playing 16-bit stereo files" New topic
Author

Playing 16-bit stereo files

Jyothsna Sri Y
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
Hi,
Can someone tell me how to play 16-bit stereo audio files using Java Media Framework. It is said that JDK1.2 supports 16-bit stereo sound format but when I try to play it is giving Exceptions:
Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 16000.0 frame rate, FrameSize=32768 bits
Failed to realize: com.sun.media.PlaybackEngine@a4488
Error: Unable to realize com.sun.media.PlaybackEngine@a4488
Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 16000.0 frame rate, FrameSize=32768 bits
Failed to realize: com.sun.media.PlaybackEngine@1d32e45
Error: Unable to realize com.sun.media.PlaybackEngine@1d32e45.
This is on linux. The files are of mp3 format. I've tried with wav file format too. These files are playing fine on Windows.
Can someone help out asap.....
Thanks
Jyothsna.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Playing 16-bit stereo files