C64: PCM chan osc, part 1
it leaks into other channels
This commit is contained in:
parent
ba90eafcf3
commit
dbe30c0d43
|
@ -164,6 +164,7 @@ void DivPlatformC64::acquire(short** buf, size_t len) {
|
|||
oscBuf[0]->data[oscBuf[0]->needle++]=sid_d->lastOut[0];
|
||||
oscBuf[1]->data[oscBuf[1]->needle++]=sid_d->lastOut[1];
|
||||
oscBuf[2]->data[oscBuf[2]->needle++]=sid_d->lastOut[2];
|
||||
oscBuf[3]->data[oscBuf[3]->needle++]=chan[3].pcmOut<<11;
|
||||
}
|
||||
} else if (sidCore==1) {
|
||||
sid_fp->clock(4,&buf[0][i]);
|
||||
|
@ -172,6 +173,7 @@ void DivPlatformC64::acquire(short** buf, size_t len) {
|
|||
oscBuf[0]->data[oscBuf[0]->needle++]=runFakeFilter(0,(sid_fp->lastChanOut[0]-dcOff)>>5);
|
||||
oscBuf[1]->data[oscBuf[1]->needle++]=runFakeFilter(1,(sid_fp->lastChanOut[1]-dcOff)>>5);
|
||||
oscBuf[2]->data[oscBuf[2]->needle++]=runFakeFilter(2,(sid_fp->lastChanOut[2]-dcOff)>>5);
|
||||
oscBuf[3]->data[oscBuf[3]->needle++]=chan[3].pcmOut<<11;
|
||||
}
|
||||
} else {
|
||||
sid->clock();
|
||||
|
@ -181,6 +183,7 @@ void DivPlatformC64::acquire(short** buf, size_t len) {
|
|||
oscBuf[0]->data[oscBuf[0]->needle++]=runFakeFilter(0,(sid->last_chan_out[0]-dcOff)>>5);
|
||||
oscBuf[1]->data[oscBuf[1]->needle++]=runFakeFilter(1,(sid->last_chan_out[1]-dcOff)>>5);
|
||||
oscBuf[2]->data[oscBuf[2]->needle++]=runFakeFilter(2,(sid->last_chan_out[2]-dcOff)>>5);
|
||||
oscBuf[3]->data[oscBuf[3]->needle++]=chan[3].pcmOut<<11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue