[MPlayer-dev-eng] WAV File Demuxing

Alex Beregszaszi alex at naxine.org
Sat Feb 16 22:19:52 CET 2002


Hi,

> Hi team,
> 	I just committed a fix to the WAV demuxing portion of
> libmpdemux/demux_audio.c. This fix skips to the actual start of the WAV
> data before reading packets. Before this fix, it was likely that you were
> hearing a pop at the start of your uncompressed PCM WAV files. This was
> because there were 8 bytes consisting of 'd', 'a', 't', 'a', followed by 4
> length bytes.
> 
> 	The fix also skips over a mysterious 'fact' chunk that occurs in
> MSADPCM-encoded WAV files. Alex, this is why your scatter.wav file didn't
> work.

Yes, it fixes it, thank you ;)
Also why does it handles data with junk so bad ? (adpcm decoder)

> 
> 	However, the WAV demuxer still has some problems, like not
> quitting after the file is done and messing up the end of the file (both
> PCM and ADPCM).

It always gets locked when it finished to play an WAV.

-
alex



More information about the MPlayer-dev-eng mailing list