From 2d79c8b23bdee866af53be9418c99b20419a397c Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 3 Dec 2024 15:05:51 +0100 Subject: Add --edi-verbose option --- src/odr-audioenc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/odr-audioenc.cpp') diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp index 6a2afbe..f65c3e4 100644 --- a/src/odr-audioenc.cpp +++ b/src/odr-audioenc.cpp @@ -201,6 +201,7 @@ static void usage(const char* name) " will be connected to all listed endpoints.\n" " -e, --edi=URI EDI output uri, (e.g. 'tcp://localhost:7000')\n" " --fec=FEC Set EDI output FEC\n" + " --edi-verbose Enable verbose mode for EDI output.\n" " -T, --timestamp-delay=DELAY_MS Enabled timestamps in EDI (requires TAI clock bulletin download) and\n" " add a delay (in milliseconds) to the timestamps carried in EDI\n" " --startup-check=SCRIPT_PATH Before starting, run the given script, and only start if it returns 0.\n" @@ -1412,6 +1413,7 @@ int main(int argc, char *argv[]) {"aaclc", no_argument, 0, 0 }, {"dab", no_argument, 0, 'a'}, {"drift-comp", no_argument, 0, 'D'}, + {"edi-verbose", no_argument, 0, 12 }, {"fifo-silence", no_argument, 0, 3 }, {"help", no_argument, 0, 'h'}, {"level", no_argument, 0, 'l'}, @@ -1505,6 +1507,9 @@ int main(int argc, char *argv[]) case 8: // EDI output FEC audio_enc.edi_output.set_fec(std::stoi(optarg)); break; + case 12: // --edi-verbose + audio_enc.edi_output.set_verbose(true); + break; case 9: // --startup-check startupcheck = optarg; break; -- cgit v1.2.3