I'm loading a 16bit PCM wav with the following code:
ALvoid* data; alutLoadWAVFile("wavdata/Notify.wav", &format, &data, &size, &freq, &loop);
Now from my very limited knowledge of OpenAL and the PCM format, I was lead to believe that 'data' should contain 16bit chunks of data representing the waveform amplitude, but the access violations are making me think otherwise.
Could anybody shed any light on this? I've been googling all night and I can't find anything of great use.