aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-25 17:17:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-25 17:17:02 +0200
commit2b5eac085fa2482fa3ee062d079a03454f05b390 (patch)
tree15b4a995070079273e3eeac8a6c884acf95f9b46 /src/DabModulator.cpp
parent7bf3f2b9747a9f49a29a836d7c4b60f3c1070fd8 (diff)
downloaddabmod-2b5eac085fa2482fa3ee062d079a03454f05b390.tar.gz
dabmod-2b5eac085fa2482fa3ee062d079a03454f05b390.tar.bz2
dabmod-2b5eac085fa2482fa3ee062d079a03454f05b390.zip
Put both AM/AM and AM/PM coefs to one file
This partly reverts commit 28462b9d8bb08609810ea9a9882c5fa9205b8b80.
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index f7f583a..cc2642a 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -204,10 +204,8 @@ int DabModulator::process(Buffer* dataOut)
}
shared_ptr<MemlessPoly> cifPoly;
- if (not m_settings.polyCoefFilenameAm.empty() and
- not m_settings.polyCoefFilenamePm.empty() ) {
- cifPoly = make_shared<MemlessPoly>(m_settings.polyCoefFilenameAm,
- m_settings.polyCoefFilenamePm,
+ if (not m_settings.polyCoefFilename.empty()) {
+ cifPoly = make_shared<MemlessPoly>(m_settings.polyCoefFilename,
m_settings.polyNumThreads);
rcs.enrol(cifPoly.get());
}