diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DabMultiplexer.cpp | 8 | ||||
-rw-r--r-- | src/DabMux.cpp | 4 |
2 files changed, 6 insertions, 6 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", diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 560cf65..a8f674b 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -316,7 +316,7 @@ int main(int argc, char *argv[]) } if (outputuid == "edi") { -#if ENABLE_EDI +#if HAVE_OUTPUT_EDI ptree pt_edi = pt_outputs.get_child("edi"); edi->enabled = true; @@ -417,7 +417,7 @@ int main(int argc, char *argv[]) etiLog.log(info, "--- Output list ---"); printOutputs(outputs); -#if ENABLE_EDI +#if HAVE_OUTPUT_EDI if (edi_conf.enabled) { etiLog.level(warn) << "EXPERIMENTAL EDI OUTPUT ENABLED!"; etiLog.level(info) << "edi to " << edi_conf.dest_addr << ":" << edi_conf.dest_port; |