diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-12-03 15:05:51 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-12-03 15:05:51 +0100 |
commit | 2d79c8b23bdee866af53be9418c99b20419a397c (patch) | |
tree | 2aa2314bc55c928e111f0869c3f07aecf99d705f /src/odr-audioenc.cpp | |
parent | 3f382a56da220fbd39fdeb9ce4212629036686cb (diff) | |
download | ODR-AudioEnc-2d79c8b23bdee866af53be9418c99b20419a397c.tar.gz ODR-AudioEnc-2d79c8b23bdee866af53be9418c99b20419a397c.tar.bz2 ODR-AudioEnc-2d79c8b23bdee866af53be9418c99b20419a397c.zip |
Add --edi-verbose option
Diffstat (limited to 'src/odr-audioenc.cpp')
-rw-r--r-- | src/odr-audioenc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |