Bugfix: accidentally forgot to commit two statementes in threadedindatahandler.cpp
This commit is contained in:
parent
bebd270b44
commit
4233e66d27
@ -10,6 +10,8 @@
|
|||||||
using namespace std::literals::chrono_literals;
|
using namespace std::literals::chrono_literals;
|
||||||
using lck = std::scoped_lock<std::mutex>;
|
using lck = std::scoped_lock<std::mutex>;
|
||||||
using rte = std::runtime_error;
|
using rte = std::runtime_error;
|
||||||
|
using std::cerr;
|
||||||
|
using std::endl;
|
||||||
|
|
||||||
class SafeQueue {
|
class SafeQueue {
|
||||||
std::queue<DaqData> _queue;
|
std::queue<DaqData> _queue;
|
||||||
|
@ -447,7 +447,7 @@ class OctaveBankDesigner(FilterBankDesigner):
|
|||||||
x: Filter band designator
|
x: Filter band designator
|
||||||
"""
|
"""
|
||||||
# Idea: correct for frequency warping:
|
# Idea: correct for frequency warping:
|
||||||
if int(self.fs) in [48000, 96000]:
|
if int(self.fs) in [44100, 48000, 96000]:
|
||||||
return 1.0
|
return 1.0
|
||||||
else:
|
else:
|
||||||
raise ValueError('Unimplemented sampling frequency for SOS'
|
raise ValueError('Unimplemented sampling frequency for SOS'
|
||||||
@ -460,7 +460,7 @@ class OctaveBankDesigner(FilterBankDesigner):
|
|||||||
Args:
|
Args:
|
||||||
x: Filter band designator
|
x: Filter band designator
|
||||||
"""
|
"""
|
||||||
if int(self.fs) in [48000, 96000]:
|
if int(self.fs) in [44100, 48000, 96000]:
|
||||||
return 1.0
|
return 1.0
|
||||||
else:
|
else:
|
||||||
raise ValueError('Unimplemented sampling frequency for SOS'
|
raise ValueError('Unimplemented sampling frequency for SOS'
|
||||||
|
Loading…
Reference in New Issue
Block a user