summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorJörgen Scott <jorgen.scott@gmail.com>2015-02-04 12:19:55 +0100
committerJörgen Scott <jorgen.scott@gmail.com>2015-02-04 12:19:55 +0100
commit1ab555f832c764bd10cebeeee51d9f7ad5c4b2c6 (patch)
treef0f9b28446ff35433223761c8239dae7706a85e4 /src/DabMod.cpp
parent7e9fa603ee00fa0ec8ebf6e258f94cadbb300856 (diff)
downloaddabmod-1ab555f832c764bd10cebeeee51d9f7ad5c4b2c6.tar.gz
dabmod-1ab555f832c764bd10cebeeee51d9f7ad5c4b2c6.tar.bz2
dabmod-1ab555f832c764bd10cebeeee51d9f7ad5c4b2c6.zip
Removed magick numbers and added support for static delay in all dab modes
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 82f03e5..214231c 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -535,6 +535,7 @@ int main(int argc, char* argv[])
outputuhd_conf.txgain = pt.get("uhdoutput.txgain", 0.0);
outputuhd_conf.frequency = pt.get<double>("uhdoutput.frequency", 0);
std::string chan = pt.get<std::string>("uhdoutput.channel", "");
+ outputuhd_conf.dabMode = dabMode;
if (outputuhd_conf.frequency == 0 && chan == "") {
std::cerr << " UHD output enabled, but neither frequency nor channel defined.\n";