aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 757b01f..5f01725 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -178,11 +178,16 @@ int DabModulator::process(Buffer* dataOut)
shared_ptr<TII> tii;
shared_ptr<PhaseReference> tiiRef;
try {
- tii = make_shared<TII>(
- m_settings.dabMode,
- m_settings.tiiConfig);
- rcs.enrol(tii.get());
- tiiRef = make_shared<PhaseReference>(mode, m_settings.fixedPoint);
+ if (m_settings.fixedPoint) {
+ etiLog.level(warn) << "TII does not yet support fixed point";
+ }
+ else {
+ tii = make_shared<TII>(
+ m_settings.dabMode,
+ m_settings.tiiConfig);
+ rcs.enrol(tii.get());
+ tiiRef = make_shared<PhaseReference>(mode, m_settings.fixedPoint);
+ }
}
catch (const TIIError& e) {
etiLog.level(error) << "Could not initialise TII: " << e.what();