Mix_LoadWAV_RW with NULL src
I put the "sample.wav" file in the same folder with the my audio.pexe
Seems the sample.wav could not be found or loaded. Where should the wav file be put ?
audio.pexe load wav api call:
sample = Mix_LoadWAV("sample.wav");
if (sample == NULL) {
PostMessage("==> Mix_LoadWAV() failed.");
PostMessage(Mix_GetError());