aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-16 11:55:58 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-16 11:55:58 +0100
commit5f8be01b3dfa32a63b142efad9feeffae663d62f (patch)
treebc31282e6b5b54239297c2f8306c052f523ae1f5 /src/DabModulator.cpp
parent1e4c0f261e00f67b0ac442a26ba581d4a1e4ed28 (diff)
downloaddabmod-5f8be01b3dfa32a63b142efad9feeffae663d62f.tar.gz
dabmod-5f8be01b3dfa32a63b142efad9feeffae663d62f.tar.bz2
dabmod-5f8be01b3dfa32a63b142efad9feeffae663d62f.zip
Do not detect TM from ETI, default to TM 1
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 4655b82..64c78af 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -121,12 +121,7 @@ int DabModulator::process(Buffer* dataOut)
PDEBUG("DabModulator::process(dataOut: %p)\n", dataOut);
if (not myFlowgraph) {
- unsigned mode = myEtiSource.getMode();
- if (m_settings.dabMode != 0) {
- mode = m_settings.dabMode;
- } else if (mode == 0) {
- mode = 4;
- }
+ const unsigned mode = m_settings.dabMode;
setMode(mode);
myFlowgraph = make_shared<Flowgraph>();