From 28462b9d8bb08609810ea9a9882c5fa9205b8b80 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Thu, 24 Aug 2017 19:16:33 +0200 Subject: Add dpd for phase correction --- src/DabModulator.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/DabModulator.cpp') diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp index cc2642a..f7f583a 100644 --- a/src/DabModulator.cpp +++ b/src/DabModulator.cpp @@ -204,8 +204,10 @@ int DabModulator::process(Buffer* dataOut) } shared_ptr cifPoly; - if (not m_settings.polyCoefFilename.empty()) { - cifPoly = make_shared(m_settings.polyCoefFilename, + if (not m_settings.polyCoefFilenameAm.empty() and + not m_settings.polyCoefFilenamePm.empty() ) { + cifPoly = make_shared(m_settings.polyCoefFilenameAm, + m_settings.polyCoefFilenamePm, m_settings.polyNumThreads); rcs.enrol(cifPoly.get()); } -- cgit v1.2.3