[MPlayer-dev-eng] WAV File Demuxing

Mike Melanson melanson at pcisys.net
Sat Feb 16 06:36:53 CET 2002


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.

	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).

	Thanks...
-- 
	-Mike Melanson




More information about the MPlayer-dev-eng mailing list