Dave: fix potential DAC hang
This commit is contained in:
parent
d769264e25
commit
54c679ba50
|
@ -74,6 +74,7 @@ void DivPlatformDave::acquire(short** buf, size_t len) {
|
||||||
chan[i].dacSample=-1;
|
chan[i].dacSample=-1;
|
||||||
writeControl=true;
|
writeControl=true;
|
||||||
chan[0].writeVol=true;
|
chan[0].writeVol=true;
|
||||||
|
chan[i].dacPeriod-=rate;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
signed char dacData=(s->data8[chan[i].dacPos]*chan[i].outVol)>>8;
|
signed char dacData=(s->data8[chan[i].dacPos]*chan[i].outVol)>>8;
|
||||||
|
|
Loading…
Reference in a new issue