No sound with libogc
Posted: Tue Sep 21, 2010 1:48 pm
I installed the latest devkitPPC and I am coding an app for Nintendo Wii.
I used the codemii tutorials to build it but I have a problem with this sound tutorial
http://www.codemii.com/2009/04/21/tutor ... /#more-509
I manage to compile it but NO SOUND can be heard even if everything seems to be ok.
Can someone re-adapt this code in order to make it working with latest devkitPPC?
I re-say that it compiles fine but under a real wii no sound can be heard !
If a re-adapt is too laborious can someone write me there what have I to code in my Makefile and in main.c in order to make a file (mod, mp3 or whatever) palying in loop in background ? I mean:
1) What to include in MakeFile
2) Whato to add in main.c
#INCLUDE
int main()
other ?
My makefile has those libs:
LIBS := -ljpeg -lwiiuse -lmad -lbte -lfat -logc -lm -lmodplay -lasnd
My main.c has the above tutorial code
THANK YOU VERY VERY VERY MUCH !!!
Thank you to everyone that can answer me !
I used the codemii tutorials to build it but I have a problem with this sound tutorial
http://www.codemii.com/2009/04/21/tutor ... /#more-509
I manage to compile it but NO SOUND can be heard even if everything seems to be ok.
Can someone re-adapt this code in order to make it working with latest devkitPPC?
I re-say that it compiles fine but under a real wii no sound can be heard !
If a re-adapt is too laborious can someone write me there what have I to code in my Makefile and in main.c in order to make a file (mod, mp3 or whatever) palying in loop in background ? I mean:
1) What to include in MakeFile
2) Whato to add in main.c
#INCLUDE
int main()
other ?
My makefile has those libs:
LIBS := -ljpeg -lwiiuse -lmad -lbte -lfat -logc -lm -lmodplay -lasnd
My main.c has the above tutorial code
THANK YOU VERY VERY VERY MUCH !!!
Thank you to everyone that can answer me !