You are not logged in.
On the DOL and the ELF that comes with demo one, the sound plays. When I compile it myself (without editing any code), it does not play. Please tell me why.
Offline
You might need to be more specific (if possible). I looked over the source, but didn't compile it myself. I wouldn't really worry about it any as GRRLIB is a graphics library and not a audio library. You might want to try messing with stuff, but it's not a GRRLIB problem.
Offline
But hopefully you know how to fix it, as the creators of grrlib have clearly got the code working before. I cannot be much more specific. It compiles Okay and everything else is fine, just it is silent and I have not touched the code at all.
Offline
If you're talking about the GRRLIB demo not having any audio, the problem is because the latest Libogc was updated to use ASND for the audio.
You'll need to edit your MAKEFILE to include LASND in the libs section. So it would look similar to this:
LIBS := -lpng -ljpeg -lz -lmodplay -lfat -lwiiuse -lbte -lm -lasnd -logc
Just make sure you put -lasnd BEFORE -logc. The order is important, otherwise it won't work.
The other thing you need to do is include ‘asndlib.h’ in your MAIN.C file. So add this:
#include <asndlib.h>
And the last thing you need to do to your MAIN.C file is add ASND_Init(); before MODPlay_Init(&snd1);
I think this should get your sound back. I'm at work right now so I can't check my file. I'm just going by memory.
Offline