| /TwlSDK-5.1.0/build/libraries/snd/common/src/ |
| D | snd_util.c | 314 u64 timer; // Result timer value in SND_CalcTimer() local 330 timer = SVC_GetPitchTable(pitch); in SND_CalcTimer() 332 timer = PitchTable[pitch]; in SND_CalcTimer() 335 timer += SND_PITCH_TABLE_BIAS; // 0x10000 - 0x1ffff in SND_CalcTimer() 336 timer *= base_timer; // 0x0 - 0x0002000000000000 in SND_CalcTimer() 341 timer >>= -shift; in SND_CalcTimer() 346 if (timer & mask) in SND_CalcTimer() 353 timer <<= shift; in SND_CalcTimer() 361 if (timer < SND_CHANNEL_TIMER_MIN) in SND_CalcTimer() 363 timer = SND_CHANNEL_TIMER_MIN; in SND_CalcTimer() [all …]
|
| D | snd_command.c | 89 static void SetChannelTimer(u32 chBitMask, int timer); 1029 static void SetChannelTimer(u32 chBitMask, int timer) in SetChannelTimer() argument 1037 SND_SetChannelTimer(ch, timer); in SetChannelTimer()
|
| /TwlSDK-5.1.0/build/demos.TWL/snd/ignoreHWVolumeDemo/src/ |
| D | main.c | 50 static u8 timer = 5; variable 193 if (timer < TIMER_MAX) in TwlMain() 195 timer++; in TwlMain() 238 if (timer > TIMER_MIN) in TwlMain() 240 timer--; in TwlMain() 270 SND_SetupAlarm(0, (u32)OS_SecondsToTicks(timer), 0, AlarmHandler, NULL); in TwlMain() 273 OS_TPrintf("set alarm. (%d sec)\n", timer); in TwlMain() 403 PrintString(2, 9, 0xf, "Timer : %d/%d sec", timer, (u8)TIMER_MAX); in UpdateScreen()
|
| /TwlSDK-5.1.0/include/nitro/snd/common/ |
| D | channel.h | 234 int loopLen, int volume, SNDChannelDataShift shift, int timer, int pan); 237 int volume, SNDChannelDataShift shift, int timer, int pan); 238 void SND_SetupChannelNoise(int chNo, int volume, SNDChannelDataShift shift, int timer, int pan); 243 void SND_SetChannelTimer(int chNo, int timer);
|
| D | exchannel.h | 111 u16 timer; // = SND_TIMER_CLOCK / rate member 124 u16 timer; // = SND_TIMER_CLOCK / rate member 186 u16 timer; member
|
| /TwlSDK-5.1.0/include/nitro/snd/ARM9/ |
| D | interface.h | 96 int loopLen, int volume, SNDChannelDataShift shift, int timer, int pan); 99 int volume, SNDChannelDataShift shift, int timer, int pan); 100 void SND_SetupChannelNoise(int chNo, int volume, SNDChannelDataShift shift, int timer, int pan); 103 void SND_SetChannelTimer(u32 chBitMask, int timer);
|
| /TwlSDK-5.1.0/build/libraries/snd/ARM9/src/ |
| D | snd_interface.c | 300 void SND_SetChannelTimer(u32 chBitMask, int timer) in SND_SetChannelTimer() argument 302 PushCommand(SND_COMMAND_CHANNEL_TIMER, chBitMask, timer, 0, 0); in SND_SetChannelTimer() 320 int loopLen, int volume, SNDChannelDataShift shift, int timer, int pan) in SND_SetupChannelPcm() argument 323 timer << 16 | chNo, in SND_SetupChannelPcm() 330 SNDDuty duty, int volume, SNDChannelDataShift shift, int timer, int pan) in SND_SetupChannelPsg() argument 332 PushCommand(SND_COMMAND_SETUP_CHANNEL_PSG, chNo, shift << 8 | volume, timer << 8 | pan, duty); in SND_SetupChannelPsg() 335 void SND_SetupChannelNoise(int chNo, int volume, SNDChannelDataShift shift, int timer, int pan) in SND_SetupChannelNoise() argument 337 PushCommand(SND_COMMAND_SETUP_CHANNEL_NOISE, chNo, shift << 8 | volume, timer << 8 | pan, 0); in SND_SetupChannelNoise()
|
| /TwlSDK-5.1.0/build/demos/os/ |
| D | Makefile | 59 timer-1 \
|