[android-developers] Re: Can MediaPlayer play .wav fomat audio?

2009-02-16 Thread Dave Sparks
The media player can play 16-bit WAVE files, but only if the format type is PCM and not the extended format type. I've been meaning to fix the OpenCore WAVE parser to handle extended format, but it's not a high priority right now. On Feb 16, 6:39 pm, herain herainw...@gmail.com wrote: I tried

[android-developers] Re: Can MediaPlayer play .wav fomat audio?

2009-02-16 Thread herain
But I am sure that my wav file don't have any extended format type. On Feb 17, 10:57 am, Dave Sparks davidspa...@android.com wrote: The media player can play 16-bit WAVE files, but only if the format type is PCM and not the extended format type. I've been meaning to fix the OpenCore WAVE

[android-developers] Re: Can MediaPlayer play .wav fomat audio?

2009-02-16 Thread herain
Thank you for your reply. My wav file was built by cool edit which saved a pcm file as windows PCM format. I guess it doesn't contain any extended format type as your mentioned. On Feb 17, 10:57 am, Dave Sparks davidspa...@android.com wrote: The media player can play 16-bit WAVE files, but

[android-developers] Re: Can MediaPlayer play .wav fomat audio?

2009-02-16 Thread Dave Sparks
If you replace the test.wav file with a test.mp3 file, does it play OK? If it does, then it has to be something about the WAVE file that OpenCore doesn't like. Have you looked in the log? On Feb 16, 7:25 pm, herain herainw...@gmail.com wrote: Thank you for your reply. My wav file was built