Fix per-channel OSC

This commit is contained in:
cam900 2023-02-06 09:40:12 +09:00
parent 2c5dc0875a
commit 8beb46d8f6
1 changed files with 0 additions and 7 deletions

View File

@ -148,13 +148,6 @@ void DivPlatformES5506::e_pin(bool state) {
const signed int lOut=es5506.voice_lout(prevChanCycle);
const signed int rOut=es5506.voice_rout(prevChanCycle);
chan[prevChanCycle].oscOut=CLAMP((lOut+rOut)>>5,-32768,32767);
if (es5506.voice_end()) {
if (prevChanCycle<31) {
for (int c=31; c>prevChanCycle; c--) {
chan[c].oscOut=0;
}
}
}
}
}
if (es5506.e_rising_edge()) { // host interface