summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-14 23:54:46 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-12-09 22:55:34 +0100
commitae4bed0f8ef4b7b318befe49336902deee983614 (patch)
treeddc2fbb52ba652083a596219c4d1c2996a8561a9 /src/DabMod.cpp
parent8ba7e406e1d71460865c0eb493956520e2f35ae1 (diff)
downloaddabmod-ae4bed0f8ef4b7b318befe49336902deee983614.tar.gz
dabmod-ae4bed0f8ef4b7b318befe49336902deee983614.tar.bz2
dabmod-ae4bed0f8ef4b7b318befe49336902deee983614.zip
Print compile-time settings on startup
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index df7e2a1..1afdfb5 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -339,6 +339,30 @@ int main(int argc, char* argv[])
#endif
<< std::endl;
+ std::cerr << "Using FFT library " <<
+#if defined(USE_FFTW)
+ "FFTW" <<
+#endif
+#if defined(USE_KISS_FFT)
+ "Kiss FFT" <<
+#endif
+#if defined(USE_SIMD)
+ " (with fft_simd)" <<
+#endif
+ "\n";
+
+ std::cerr << "Compiled with features: " <<
+#if defined(HAVE_INPUT_ZEROMQ)
+ "input_zeromq " <<
+#endif
+#if defined(HAVE_OUTPUT_UHD)
+ "output_uhd " <<
+#endif
+#if defined(HAVE_OUTPUT_ZEROMQ)
+ "output_zeromq " <<
+#endif
+ "\n";
+
if (use_configuration_file && use_configuration_cmdline) {
fprintf(stderr, "Warning: configuration file and command line parameters are defined:\n\t"
"Command line parameters override settings in the configuration file !\n");
@@ -578,6 +602,7 @@ int main(int argc, char* argv[])
outputuhd_conf.muteNoTimestamps = (pt.get("delaymanagement.mutenotimestamps", 0) == 1);
#endif
}
+
if (!rc) {
logger.level(warn) << "No Remote-Control started";
rc = new RemoteControllerDummy();