#154771 - sverx - Mon Apr 21, 2008 4:06 pm
While I'm still stuck with the RTC (as you can see here ... ) I took a pause and I went back to the sound argument.
Short. The question is: what's the difference between the different sample repeat modes? Because gbatek says that bits 27-28 of the channel control register (SOUNDxCNT) have these meaning:
and in the libnds file arm7/audio.h there are 2 defines:
... well, of course I understand the 'repeat' mode, and I already used it... what I really can't understand is: what's the difference between Manual ( 0b00 ) and One-Shot ( 0b10 ) ?
TIA :)
Short. The question is: what's the difference between the different sample repeat modes? Because gbatek says that bits 27-28 of the channel control register (SOUNDxCNT) have these meaning:
Quote: |
Bit27-28 Repeat Mode (0=Manual, 1=Loop Infinite, 2=One-Shot, 3=Prohibited) |
and in the libnds file arm7/audio.h there are 2 defines:
Code: |
#define SOUND_REPEAT BIT(27)
#define SOUND_ONE_SHOT BIT(28) |
... well, of course I understand the 'repeat' mode, and I already used it... what I really can't understand is: what's the difference between Manual ( 0b00 ) and One-Shot ( 0b10 ) ?
TIA :)