summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 12cfa43..9880938 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -425,6 +425,12 @@ int launch_modulator(int argc, char* argv[])
((Output::SDR*)output.get())->setETISource(modulator->getEtiSource());
}
+ // TODO remove
+ auto output_as_file = dynamic_pointer_cast<OutputFile>(output);
+ if (output_as_file) {
+ output_as_file->setETISource(modulator->getEtiSource());
+ }
+
inputReader->PrintInfo();
run_modulator_state_t st = run_modulator(m);