Reputation: 11
I'm using the following function:
_alutLoadWAVMemory_((ALbyte *)myBuf,&format, &data, &size, &freq, &loop);
I have 2 questions:
I've read online that the function is deprecated, does anyone know why? More important - what should I use instead?
Is the variable format assigned with data regarding the format after I call _alutLoadWAVMemory_
?
Thanks a lot!
Upvotes: 1
Views: 1439
Reputation: 8920
There are a few candidates for functions to use instead, see the Alut documentation on loading. I think the closest equivalent to LoadWAVMemory would be 'alutCreateBufferFromFileImage'.
Upvotes: 1