This commit is contained in:
tildearrow 2023-01-02 04:53:37 -05:00
parent e06b2f6952
commit 3e0dcbb0ae
104 changed files with 233 additions and 233 deletions

View file

@ -24,9 +24,9 @@
#define CHIP_FREQBASE 2048
void DivPlatformDummy::acquire(short* bufL, short* bufR, size_t start, size_t len) {
void DivPlatformDummy::acquire(short** buf, size_t len) {
int chanOut;
for (size_t i=start; i<start+len; i++) {
for (size_t i=0; i<len; i++) {
int out=0;
for (unsigned char j=0; j<chans; j++) {
if (chan[j].active) {
@ -44,7 +44,7 @@ void DivPlatformDummy::acquire(short* bufL, short* bufR, size_t start, size_t le
}
if (out<-32768) out=-32768;
if (out>32767) out=32767;
bufL[i]=out;
buf[0][i]=out;
}
}