aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-22 18:35:25 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-22 18:35:25 +0100
commit045c81269fcafb25484f02ef1a8f1da896d47d72 (patch)
treea86dc711e6d62fe873adfb01b9fd7b536a251806
parent3acf203e565485a0bf8e217163eb7adfc14790bd (diff)
downloaddabmod-045c81269fcafb25484f02ef1a8f1da896d47d72.tar.gz
dabmod-045c81269fcafb25484f02ef1a8f1da896d47d72.tar.bz2
dabmod-045c81269fcafb25484f02ef1a8f1da896d47d72.zip
enable UHD by default
-rw-r--r--configure.ac3
-rw-r--r--src/DabMod.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index e01c409..c31306a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,7 +68,8 @@ AC_ARG_ENABLE([input_zeromq],
AS_HELP_STRING([--enable-input-zeromq], [Enable ZeroMQ input]))
# UHD support control
AC_ARG_ENABLE([output_uhd],
- AS_HELP_STRING([--enable-output-uhd], [Enable UHD output]))
+ [AS_HELP_STRING([--enable-output-uhd], [Enable UHD output])],
+ [], [enable_output_uhd=yes])
AS_IF([test "x$enable_input_zeromq" = "xyes"],
[AC_DEFINE(HAVE_INPUT_ZEROMQ, [1], [Define if ZeroMQ input is enabled]) ,
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 7bf476f..92da99a 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -167,9 +167,7 @@ int main(int argc, char* argv[])
std::string outputName;
int useFileOutput = 0;
-//#if defined(HAVE_OUTPUT_UHD)
int useUHDOutput = 0;
-//#endif
uint64_t frame = 0;
size_t outputRate = 2048000;