blip_buf clock<rate bug workaround, part 2?

This commit is contained in:
tildearrow 2023-04-16 01:11:20 -05:00
parent f7f1734c7d
commit 73204b5378
2 changed files with 28 additions and 6 deletions

View file

@ -190,6 +190,7 @@ struct DivDispatchContainer {
short* bbIn[DIV_MAX_OUTPUTS];
short* bbOut[DIV_MAX_OUTPUTS];
bool lowQuality, dcOffCompensation;
unsigned char rateMul, runPosSub;
double rateMemory;
void setRates(double gotRate);
@ -210,6 +211,8 @@ struct DivDispatchContainer {
lastAvail(0),
lowQuality(false),
dcOffCompensation(false),
rateMul(0),
runPosSub(0),
rateMemory(0.0) {
memset(bb,0,DIV_MAX_OUTPUTS*sizeof(blip_buffer_t*));
memset(temp,0,DIV_MAX_OUTPUTS*sizeof(int));