View Single Post
Old 09-17-2014, 10:52 AM   #4
Human being with feelings
bozmillar's Avatar
Join Date: Sep 2009
Posts: 604

If you open the wave file, all you need is a pointer of type short int that points to the start of the data in the data chunk. then you can just treat it like an array of short ints where the even numbers are left channel and the odd numbers are the right channel.

I guess I should add that wdl comes with a wave read/write class. I've never used it myself, but it's worth looking at. I'm imagining it takes care of parsing the headers and stuff so that you don't have to.
bozmillar is offline   Reply With Quote