mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 04:55:13 +00:00
ES5506: ...
This commit is contained in:
parent
c11fc669ad
commit
79f6b9f5ec
1 changed files with 2 additions and 7 deletions
|
@ -113,7 +113,6 @@ const char** DivPlatformES5506::getRegisterSheet() {
|
|||
}
|
||||
|
||||
void DivPlatformES5506::acquire(short** buf, size_t len) {
|
||||
int coL[6], coR[6];
|
||||
for (size_t h=0; h<len; h++) {
|
||||
// convert 32 bit access to 8 bit host interface
|
||||
while (!hostIntf32.empty()) {
|
||||
|
@ -133,12 +132,8 @@ void DivPlatformES5506::acquire(short** buf, size_t len) {
|
|||
}
|
||||
es5506.tick_perf();
|
||||
for (int o=0; o<6; o++) {
|
||||
coL[o]=es5506.lout(o);
|
||||
coR[o]=es5506.rout(o);
|
||||
}
|
||||
for (int o=0; o<6; o++) {
|
||||
buf[(o<<1)|0][h]=coL[o];
|
||||
buf[(o<<1)|1][h]=coR[o];
|
||||
buf[(o<<1)|0][h]=es5506.lout(o);
|
||||
buf[(o<<1)|1][h]=es5506.rout(o);
|
||||
}
|
||||
for (int i=chanMax; i>=0; i--) {
|
||||
oscBuf[i]->data[oscBuf[i]->needle++]=(es5506.voice_lout(i)+es5506.voice_rout(i))>>5;
|
||||
|
|
Loading…
Reference in a new issue