aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-22 10:08:07 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-22 10:08:07 +0100
commitbedf7e60522bb34b19f4a28b8866aea7062c9054 (patch)
tree1ea63e33b03b314bd00148a5bf992f9a16139431 /src/DabMod.cpp
parent9c72ead2dadad8982f345e4f5c1d8206668ebc61 (diff)
downloaddabmod-bedf7e60522bb34b19f4a28b8866aea7062c9054.tar.gz
dabmod-bedf7e60522bb34b19f4a28b8866aea7062c9054.tar.bz2
dabmod-bedf7e60522bb34b19f4a28b8866aea7062c9054.zip
Add modulator rate (r/o) to RC
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index c53b7c9..57acd40 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -3,7 +3,7 @@
Her Majesty the Queen in Right of Canada (Communications Research
Center Canada)
- Copyright (C) 2018
+ Copyright (C) 2019
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -315,6 +315,7 @@ int launch_modulator(int argc, char* argv[])
Flowgraph flowgraph;
auto modulator = make_shared<DabModulator>(ediReader, mod_settings);
+ rcs.enrol(modulator.get());
if (format_converter) {
flowgraph.connect(modulator, format_converter);
@@ -420,6 +421,7 @@ int launch_modulator(int argc, char* argv[])
auto input = make_shared<InputMemory>(&m.data);
auto modulator = make_shared<DabModulator>(etiReader, mod_settings);
+ rcs.enrol(modulator.get());
if (format_converter) {
flowgraph.connect(modulator, format_converter);