Fix linux bug

This commit is contained in:
Ryzerth 2021-04-17 22:41:46 +02:00
parent d91934955b
commit b0409ad033

View File

@ -103,7 +103,7 @@ namespace dsp {
return -1;
}
ctrlMtx.lock();
generic_block<PolyphaseResampler<T>>::ctrlMtx.lock();
int outCount = calcOutSize(count);
@ -131,7 +131,7 @@ namespace dsp {
memmove(buffer, &buffer[count], tapsPerPhase * sizeof(T));
ctrlMtx.unlock();
generic_block<PolyphaseResampler<T>>::ctrlMtx.unlock();
return count;
}