aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-17 22:54:49 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 11:58:06 +0100
commitf5d667014440eb233befbc1ad22fd525723fe7de (patch)
tree0972bc14556f5480149303bff2ce159f2bdae207 /src/DabMod.cpp
parentb51bea6c775007590e03f3dd230b1415c08c914a (diff)
downloaddabmod-f5d667014440eb233befbc1ad22fd525723fe7de.tar.gz
dabmod-f5d667014440eb233befbc1ad22fd525723fe7de.tar.bz2
dabmod-f5d667014440eb233befbc1ad22fd525723fe7de.zip
Move print of startup info to new function
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp31
1 files changed, 1 insertions, 30 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index a298fbe..0378c97 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -213,36 +213,7 @@ int launch_modulator(int argc, char* argv[])
mod_settings_t mod_settings;
parse_args(argc, argv, mod_settings);
- std::cerr << "ODR-DabMod version " <<
-#if defined(GITVERSION)
- GITVERSION
-#else
- VERSION
-#endif
- << std::endl;
-
- std::cerr << "Compiled with features: " <<
-#if defined(HAVE_ZEROMQ)
- "zeromq " <<
-#endif
-#if defined(HAVE_OUTPUT_UHD)
- "output_uhd " <<
-#endif
-#if defined(HAVE_SOAPYSDR)
- "output_soapysdr " <<
-#endif
-#if defined(__FAST_MATH__)
- "fast-math" <<
-#endif
- "\n";
-
- etiLog.level(info) << "Starting up version " <<
-#if defined(GITVERSION)
- GITVERSION;
-#else
- VERSION;
-#endif
-
+ printStartupInfo();
// When using the FIRFilter, increase the modulator offset pipelining delay
// by the correct amount