ES5506: more optimization

This commit is contained in:
tildearrow 2023-02-06 03:44:03 -05:00
parent bf0f424cca
commit c4121ccfd6
4 changed files with 6 additions and 12 deletions

View file

@ -170,14 +170,6 @@ void DivPlatformES5506::acquire(short** buf, size_t len) {
}
void DivPlatformES5506::e_pin(bool state) {
/*
if (es5506.e_falling_edge()) { // get channel outputs
if (es5506.voice_update()) {
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 (state) { // host interface
if (cycle) { // wait until delay
cycle--;