diff options
author | andreas128 <Andreas> | 2017-08-24 19:16:33 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-08-24 19:16:33 +0200 |
commit | 28462b9d8bb08609810ea9a9882c5fa9205b8b80 (patch) | |
tree | 8bf70862be54639cc7acfbb09e600b6877cdeab4 /src/DabModulator.cpp | |
parent | 944df89d7a6253b9077eec1655449e74b16f1418 (diff) | |
download | dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.tar.gz dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.tar.bz2 dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.zip |
Add dpd for phase correction
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()); } |