mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-20 13:08:11 -04:00
SPU: remove some debug printfs
This commit is contained in:
parent
802b385820
commit
ac108f7f95
|
@ -174,7 +174,6 @@ stereo_sample SPU::voice_gen_sample(int voice_id)
|
|||
|
||||
if (!(voice.loop_code & 0x2)) // stop voice
|
||||
{
|
||||
printf("[SPU%d] EDEBUG Setting ADSR phase of voice %d to %d\n", id, voice_id, 4);
|
||||
voice.adsr.set_stage(ADSR::Stage::Release);
|
||||
voice.adsr.volume = 0;
|
||||
}
|
||||
|
@ -1227,14 +1226,12 @@ void SPU::key_on_voice(int v)
|
|||
ENDX &= ~(1 << v);
|
||||
voices[v].adsr.set_stage(ADSR::Stage::Attack);
|
||||
voices[v].adsr.volume = 0;
|
||||
printf("[SPU%d] EDEBUG Setting ADSR phase of voice %d to %d\n", id, v, 1);
|
||||
}
|
||||
|
||||
void SPU::key_off_voice(int v)
|
||||
{
|
||||
//Set envelope to Release mode
|
||||
voices[v].adsr.set_stage(ADSR::Stage::Release);
|
||||
printf("[SPU%d] EDEBUG Setting ADSR phase of voice %d to %d\n", id, v, 4);
|
||||
}
|
||||
|
||||
void SPU::clear_dma_req()
|
||||
|
|
Loading…
Reference in a new issue