.WAV file wFormatTag = WAVE_FORMAT_EXTENSIBLE

James Courtier-Dutton <[email protected]> Sun, 17 Apr 2005 17:51:53 +0100
Newsgroups gmane.comp.video.xine.codec.devel
Message-ID <[email protected]>
Hi,

Are there any standard linux libs that decode the .wav file header, or
do I have to re-implement the .wav header parsing in every app I do?

Most linux apps will not play .wav files with wFormatTag =
WAVE_FORMAT_EXTENSIBLE.

But if you hexedit the file and replace WAVE_FORMAT_EXTENSIBE(65534)
with PCM(1) it plays fine.

If there is no standard lib available, I will manually add support to
xine and aplay.

James


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click