summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-20 20:58:54 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-20 20:58:54 +0200
commit9522c159dcca6acbb22c2f8ff04d76f4c6104c34 (patch)
tree7b05ce20b5cc6296af1b4662c62529f7a3d38c83 /src/DabMod.cpp
parent76302cd1f4441187e8481eeb2365669105081204 (diff)
downloaddabmod-9522c159dcca6acbb22c2f8ff04d76f4c6104c34.tar.gz
dabmod-9522c159dcca6acbb22c2f8ff04d76f4c6104c34.tar.bz2
dabmod-9522c159dcca6acbb22c2f8ff04d76f4c6104c34.zip
Add subdevice to UHD configuration
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 20c5ab6..d8614a7 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -441,6 +441,7 @@ int main(int argc, char* argv[])
else if (output_selected == "uhd") {
outputuhd_conf.device = pt.get("uhdoutput.device", "");
outputuhd_conf.usrpType = pt.get("uhdoutput.type", "");
+ outputuhd_conf.subDevice = pt.get("uhdoutput.subdevice", "");
outputuhd_conf.masterClockRate = pt.get<long>("uhdoutput.master_clock_rate", 0);
if (outputuhd_conf.device.find("master_clock_rate") != std::string::npos) {