Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Valid 16-bit PCM wave file not loading #15
Turns out this was due to the way I was parsing RIFF wave files.
Per the specs I've read, PCM "fmt " chunks are not supposed to have "Extra Format Bytes" (see http://www.sonicspot.com/guide/wavefiles.html).
I was expecting a 16 byte chunk, but this file had an 18 byte chunk.
Turns out I was reading the spec wrong (or not all programs respect the PCM clause- and include extra bytes).