예제 #1
0
파일: spu.cpp 프로젝트: V10lator/emumaster
void sound_timer_queue32(u32 channel, u32 value) {
	direct_sound_struct *ds = direct_sound_channel + channel;
	sound_timer_queue(8, value & 0xFF);
	sound_timer_queue(8, (value >> 8) & 0xFF);
	sound_timer_queue(8, (value >> 16) & 0xFF);
	sound_timer_queue(8, value >> 24);
}
예제 #2
0
void sound_timer_queue16(u32 channel, u16 value)
{
  direct_sound_struct *ds = direct_sound_channel + channel;
  sound_timer_queue(8, value & 0xFF);
  sound_timer_queue(8, value >> 8);
}
예제 #3
0
void sound_timer_queue8(u32 channel, u8 value)
{
  direct_sound_struct *ds = direct_sound_channel + channel;
  sound_timer_queue(8, value);
}