Bugfix: accidentally forgot to commit two statementes in threadedindatahandler.cpp

This commit is contained in:
Anne de Jong 2022-10-16 21:30:17 +02:00
parent bebd270b44
commit 4233e66d27
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,8 @@
using namespace std::literals::chrono_literals;
using lck = std::scoped_lock<std::mutex>;
using rte = std::runtime_error;
using std::cerr;
using std::endl;
class SafeQueue {
std::queue<DaqData> _queue;

View File

@ -447,7 +447,7 @@ class OctaveBankDesigner(FilterBankDesigner):
x: Filter band designator
"""
# Idea: correct for frequency warping:
if int(self.fs) in [48000, 96000]:
if int(self.fs) in [44100, 48000, 96000]:
return 1.0
else:
raise ValueError('Unimplemented sampling frequency for SOS'
@ -460,7 +460,7 @@ class OctaveBankDesigner(FilterBankDesigner):
Args:
x: Filter band designator
"""
if int(self.fs) in [48000, 96000]:
if int(self.fs) in [44100, 48000, 96000]:
return 1.0
else:
raise ValueError('Unimplemented sampling frequency for SOS'