summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 08:12:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 08:12:29 +0200
commit93cb9dc6d1492ac2ed58c24a016b579813177a13 (patch)
treebc57b3c9b23f3e46d9fb8ef6832604a1f9da7cce /src/DabMultiplexer.cpp
parentf99c4f75d7c1ffc18e3d04167e854af3d571f1b1 (diff)
downloaddabmux-93cb9dc6d1492ac2ed58c24a016b579813177a13.tar.gz
dabmux-93cb9dc6d1492ac2ed58c24a016b579813177a13.tar.bz2
dabmux-93cb9dc6d1492ac2ed58c24a016b579813177a13.zip
Add EDI option to ./configure
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index 5c41d99..71a8b4b 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -181,7 +181,7 @@ void DabMultiplexer::prepare()
*/
gettimeofday(&mnsc_time, NULL);
-#if ENABLE_EDI
+#if HAVE_OUTPUT_EDI
// Defaults for edi
edi_conf.enabled = db.get_numeric("output.edi.enabled", 0) == 1;
if (edi_conf.enabled) {
@@ -191,7 +191,7 @@ void DabMultiplexer::prepare()
edi_conf.dump = db.get_numeric("output.edi.dump") == 1;
edi_conf.enable_pft = db.get_numeric("output.edi.enable_pft") == 1;
}
-#endif // ENABLE_EDI
+#endif // HAVE_OUTPUT_EDI
}
@@ -1708,7 +1708,7 @@ void DabMultiplexer::mux_frame(std::vector<boost::shared_ptr<DabOutput> >& outpu
dumpBytes(dumpData, sizeSubChannel, stderr);
#endif // DUMP_BRIDGE
-#if ENABLE_EDI
+#if HAVE_OUTPUT_EDI
/**********************************************************************
*********** Finalise and send EDI ********************************
**********************************************************************/
@@ -1777,7 +1777,7 @@ void DabMultiplexer::mux_frame(std::vector<boost::shared_ptr<DabOutput> >& outpu
std::copy(edi_afpacket.begin(), edi_afpacket.end(), debug_iterator);
}
}
-#endif // ENABLE_EDI
+#endif // HAVE_OUTPUT_EDI
if (currentFrame % 100 == 0) {
etiLog.log(info, "ETI frame number %i Time: %d, no TIST\n",