new chan osc, part 8

fix remaining bugs
This commit is contained in:
tildearrow 2025-03-02 18:02:38 -05:00
parent 49a8693dcb
commit 6813c30e3a
5 changed files with 10 additions and 8 deletions

View file

@ -92,7 +92,7 @@ void DivPlatformMSM6258::acquire(short** buf, size_t len) {
} else {
buf[0][h]=(msmPan&2)?0:msmOut;
buf[1][h]=(msmPan&1)?0:msmOut;
oscBuf[0]->putSample(h,msmPan?(msmOut>>1):0);
oscBuf[0]->putSample(h,(msmPan!=3)?(msmOut>>1):0);
}
}

View file

@ -102,7 +102,7 @@ void DivPlatformTX81Z::acquire(short** buf, size_t len) {
}
for (int i=0; i<8; i++) {
oscBuf[i]->begin(len);
oscBuf[i]->end(len);
}
}

View file

@ -66,7 +66,7 @@ void DivPlatformVERA::acquire(short** buf, size_t len) {
// argument right into both could cause an overflow
short whyCallItBuf[4][128];
size_t pos=0;
size_t lenCopy=0;
size_t lenCopy=len;
DivSample* s=parent->getSample(chan[16].pcm.sample);
while (lenCopy>0) {
if (s->samples>0 && chan[16].pcm.pos<s->samples) {