SvOlli
Certified Guru
Hi there!
During the discussion with a co-worker from the hardware department we maybe found the cause of the always annoying gp32 sound bug.
The main problem seems to be that the (memory?) bus can't handle all the data, there's just too much traffic. And then the sound dma will not be able to get the needed data in time.
I did some experiments with my OggVorbis Player (Project Bluescreen from the beta board). If I throttle my graphics output down, there's no "static noise" anymore. My next step there will be to replace the loop calling GpPointSet() function with an own graphics routine that'll always write 4 pixels (32 bit) at a time to reduce load on the memory bus.
So maybe the rule "only access the memory on 32bit boundry" can help avoid the sound bug.
I'll keep you informed.
Greetings & good night from Germany,
SvOlli
During the discussion with a co-worker from the hardware department we maybe found the cause of the always annoying gp32 sound bug.
The main problem seems to be that the (memory?) bus can't handle all the data, there's just too much traffic. And then the sound dma will not be able to get the needed data in time.
I did some experiments with my OggVorbis Player (Project Bluescreen from the beta board). If I throttle my graphics output down, there's no "static noise" anymore. My next step there will be to replace the loop calling GpPointSet() function with an own graphics routine that'll always write 4 pixels (32 bit) at a time to reduce load on the memory bus.
So maybe the rule "only access the memory on 32bit boundry" can help avoid the sound bug.
I'll keep you informed.
Greetings & good night from Germany,
SvOlli