diff options
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r-- | src/DabModulator.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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<MemlessPoly> cifPoly; - if (not m_settings.polyCoefFilename.empty()) { - cifPoly = make_shared<MemlessPoly>(m_settings.polyCoefFilename, + if (not m_settings.polyCoefFilenameAm.empty() and + not m_settings.polyCoefFilenamePm.empty() ) { + cifPoly = make_shared<MemlessPoly>(m_settings.polyCoefFilenameAm, + m_settings.polyCoefFilenamePm, m_settings.polyNumThreads); rcs.enrol(cifPoly.get()); } |