Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Playing 16-bit stereo files

 
Jyothsna Sri Y
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic