#157910 - mfallon - Sun Jun 01, 2008 7:48 pm
Is there a way to tell when a sound is finished playing? What I need to do is play several different combinations of short sounds (about 1 second each) back to back. Keep in mind I am new to DS programming and don't really know what I'm doing yet. I'm using libnds and I am building both arm9 and arm7 binaries though I'm not really doing anything with arm7 yet except playing around with it.
Thanks,
Matt
#157916 - mfallon - Sun Jun 01, 2008 9:52 pm
Thanks for the input. The control register solution was what I was looking for however using a timer on the arm9 seems to work well enough without having to use the arm7 making things simpler and I like simpler.
Thanks,
Matt
#158072 - HyperHacker - Wed Jun 04, 2008 5:32 am
I wonder if the sound capture would provide a way to tell about where it is? Fill a buffer with some known value that wouldn't be generated (something invalid, or some transformation of the contents of the input buffer) and read through it looking for that value as you record into it. Might even be a convenient status register or something.
_________________
I'm a PSP hacker now, but I still <3 DS.