aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 16:19:58 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 16:19:58 +0200
commitfe62dff97924c045affe10da2e896e29e10e6aed (patch)
tree58a6efaca999f0004377e6272ea010880579d203 /src/DabMod.cpp
parent6a9af4b8ff4f73e01ccb3bd07c0a971ef503c73d (diff)
parent1cfebd56f205f95498079a20bca1a0667be07296 (diff)
downloaddabmod-fe62dff97924c045affe10da2e896e29e10e6aed.tar.gz
dabmod-fe62dff97924c045affe10da2e896e29e10e6aed.tar.bz2
dabmod-fe62dff97924c045affe10da2e896e29e10e6aed.zip
Merge branch 'next' into next_memless
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp28
1 files changed, 2 insertions, 26 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 1f10fb8..15b3be2 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -317,19 +317,7 @@ int launch_modulator(int argc, char* argv[])
}
Flowgraph flowgraph;
- auto modulator = make_shared<DabModulator>(
- ediReader,
- mod_settings.tiiConfig,
- mod_settings.outputRate,
- mod_settings.clockRate,
- mod_settings.dabMode,
- mod_settings.gainMode,
- mod_settings.digitalgain,
- mod_settings.normalise,
- mod_settings.gainmodeVariance,
- mod_settings.filterTapsFilename,
- mod_settings.polyCoefFilename,
- mod_settings.polyNumThreads);
+ auto modulator = make_shared<DabModulator>(ediReader, mod_settings);
if (format_converter) {
flowgraph.connect(modulator, format_converter);
@@ -423,19 +411,7 @@ int launch_modulator(int argc, char* argv[])
m.etiReader = &etiReader;
auto input = make_shared<InputMemory>(&m.data);
- auto modulator = make_shared<DabModulator>(
- etiReader,
- mod_settings.tiiConfig,
- mod_settings.outputRate,
- mod_settings.clockRate,
- mod_settings.dabMode,
- mod_settings.gainMode,
- mod_settings.digitalgain,
- mod_settings.normalise,
- mod_settings.gainmodeVariance,
- mod_settings.filterTapsFilename,
- mod_settings.polyCoefFilename,
- mod_settings.polyNumThreads);
+ auto modulator = make_shared<DabModulator>(etiReader, mod_settings);
if (format_converter) {
flowgraph.connect(modulator, format_converter);