The sound playing code in Gridlauncher loads a WAV file from the SD card and plays it. I now want to play sound data which has been included in the 3dsx binary itself but I can't get it working.
My WAV file already has a .bin extension and it plays in Gridlauncher as a theme sound loaded from SD. I place this in the data directory, included its header, and tried to call cSndPlaySound() passing this buffer as the data parameter. The problem is that no sound actually plays.
I'm wondering whether the compiler is doing something to the .bin (really .wav) file when it links it with the binary rather than including it as-is. Does anyone have any ideas about this?
Thanks in advance!
My WAV file already has a .bin extension and it plays in Gridlauncher as a theme sound loaded from SD. I place this in the data directory, included its header, and tried to call cSndPlaySound() passing this buffer as the data parameter. The problem is that no sound actually plays.
I'm wondering whether the compiler is doing something to the .bin (really .wav) file when it links it with the binary rather than including it as-is. Does anyone have any ideas about this?
Thanks in advance!