new dispatch, part 3

This commit is contained in:
tildearrow 2023-01-04 03:11:47 -05:00
parent 3a687eeb45
commit 9436e2ab55
2 changed files with 1 additions and 3 deletions

View File

@ -71,7 +71,6 @@ void DivPlatformPET::acquire(short** buf, size_t len) {
chan[0].cnt-=SAMP_DIVIDER;
}
buf[0][h]=chan[0].out;
buf[1][h]=chan[0].out;
oscBuf->data[oscBuf->needle++]=chan[0].out;
}
// emulate driver writes to PCR
@ -80,7 +79,6 @@ void DivPlatformPET::acquire(short** buf, size_t len) {
chan[0].out=0;
for (size_t h=0; h<len; h++) {
buf[0][h]=0;
buf[1][h]=0;
oscBuf->data[oscBuf->needle++]=0;
}
}

View File

@ -86,7 +86,7 @@ void DivPlatformSCC::acquire(short** buf, size_t len) {
scc->tick();
}
short out=(short)scc->out()<<5;
buf[0][h]=buf[1][h]=out;
buf[0][h]=out;
for (int i=0; i<5; i++) {
oscBuf[i]->data[oscBuf[i]->needle++]=scc->voice_out(i)<<7;