Parsing a wave file using the mmio functions

Started by
-1 comments, last by Brian Jones 21 years, 8 months ago
I''m not totally sure this belongs here, but here goes...I am using DirectXSound for my sounds, and in play them I have to parse the headers. I''m using the mmio functions. The thing is I''ve memorized the steps (bad thing, I know), instead of actually trying to understand what I was doing, which is descending and ascending through a file. Right after you open the file with mmioOpen(), you set the parent MMCKINFO struc fccType field to ''W'', ''A'', ''V'', ''E'', and descend into the wave file with wflags being MMIO_FINDRIFF. What that does is makes sure the file being searched through is a RIFF file, and that you want to start off at the wave chuck first, correct? Then you can descend into the fmt chunk, and receive data about the wave format, and then the data chunk and so on. Could you please tell me if thats correct. If it is, then I pretty much got the gist of parsing a wave.
I don't have a signature

This topic is closed to new replies.

Advertisement