#161477 - sepro - Mon Aug 04, 2008 7:57 pm
I stumbled upon a problem with my sound I really can't seem to fix.
So I tried to re-compile my rubik's cube sim with the new devkitarm, libnds, ... I was able to cope with the small differences but the sound is crumbled (this wasn't the case using devkitARM r21). Weird thing is that the sound code worked well when I tested it in a small test prog. Any thought were I should look for the problem.
Any other methods to play sounds, now it's basically the simplesound code included in devkitpro i've used.
Solution: Although I can't figure out why... for some reason the size of the sound wasn't correct (check wntrmute's simplesound). So it played the sound, then started reading parts that weren't sound at all resulting in random bits and bleeps. I fixed it by manually adding the size of the sound file (not a proper solution but for me it works)
So I tried to re-compile my rubik's cube sim with the new devkitarm, libnds, ... I was able to cope with the small differences but the sound is crumbled (this wasn't the case using devkitARM r21). Weird thing is that the sound code worked well when I tested it in a small test prog. Any thought were I should look for the problem.
Any other methods to play sounds, now it's basically the simplesound code included in devkitpro i've used.
Solution: Although I can't figure out why... for some reason the size of the sound wasn't correct (check wntrmute's simplesound). So it played the sound, then started reading parts that weren't sound at all resulting in random bits and bleeps. I fixed it by manually adding the size of the sound file (not a proper solution but for me it works)