gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > sound latency (was: interrupt priority)

#130401 - dub3000 - Sun Jun 03, 2007 12:52 am

i've got code looping in waitforvblank, and other code that has to fire 10000 times a second on a timer.

i'm noticing 16.7ms delays in some of the output - is my timer irq waiting until the vblank code returns?

hrm... or is the sound code in palib only syncing arm9 and arm7 on vblank?

update: sound is only syncing on vblank in arm7 PA_VBL(). am going to try and move the pattern playback into the arm7 and see if i can get it running smoother there.