summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-24 19:16:33 +0200
committerandreas128 <Andreas>2017-08-24 19:16:33 +0200
commit28462b9d8bb08609810ea9a9882c5fa9205b8b80 (patch)
tree8bf70862be54639cc7acfbb09e600b6877cdeab4 /src/DabModulator.cpp
parent944df89d7a6253b9077eec1655449e74b16f1418 (diff)
downloaddabmod-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.cpp6
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());
}