Larry
2009-12-27 00:51:36 UTC
Hi,
I was reading something about RIFF and wave format file here:
http://www.codeguru.com/cpp/g-m/multimedia/audio/article.php/c8935/
http://www.codeguru.com/cpp/g-m/multimedia/audio/article.php/c8935__2/
"...a WAVE file is a collection of a number of different types of chunks.
But, there are three chunks that are required to be present in a valid wave
file, RIFF, FMT and DATA"
Now my question is: are they sort of tags like in mp3 (idv2 tags) or they
are part of each chunk?
I mean, If I do some capturing with the waveForm API and I'd like to save
the buffers (4096 bytes each) should I put those 3 tags at the very
beginning fo the file or each every chunk of raw data? (RIFF,FMT,DATA+4096
bytes...again RIFF,FMT,DATA+4096...) ????
thanks
I was reading something about RIFF and wave format file here:
http://www.codeguru.com/cpp/g-m/multimedia/audio/article.php/c8935/
http://www.codeguru.com/cpp/g-m/multimedia/audio/article.php/c8935__2/
"...a WAVE file is a collection of a number of different types of chunks.
But, there are three chunks that are required to be present in a valid wave
file, RIFF, FMT and DATA"
Now my question is: are they sort of tags like in mp3 (idv2 tags) or they
are part of each chunk?
I mean, If I do some capturing with the waveForm API and I'd like to save
the buffers (4096 bytes each) should I put those 3 tags at the very
beginning fo the file or each every chunk of raw data? (RIFF,FMT,DATA+4096
bytes...again RIFF,FMT,DATA+4096...) ????
thanks