ES5506: more optimization
This commit is contained in:
parent
bf0f424cca
commit
c4121ccfd6
4 changed files with 6 additions and 12 deletions
|
|
@ -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--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue