Hi All,
I have followed madlld application for Implementing MAD Decoder.
MAD Creates Output wav file of desired size, but when i tried to play
it using Windows Media Player or Winamp, it does not recognize the wav format.
Please tell me,how this problem can be corrected.
Thanks in advance.
Regards,
Mukesh Harjai
_________________________________________________________________ Are you a geek? Are you a techno freak? http://www.msn.co.in/Computing/
On Sunday, June 22, 2003, at 11:05 PM, mukesh harjai wrote:
I have followed madlld application for Implementing MAD Decoder. MAD Creates Output wav file of desired size, but when i tried to play it using Windows Media Player or Winamp, it does not recognize the wav format.
I think madlld simply writes raw PCM samples; in order for Windows programs to recognize the audio data, you will need to add a RIFF/WAVE header.
See audio_wave.c in the madplay distribution for an example of this.
Beware also that madlld writes samples in big-endian format; you'll need to write little-endian samples to WAVE files.