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/Outputs.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/Outputs.cpp')
-rw-r--r-- | src/Outputs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp index d7af7d4..fd723f6 100644 --- a/src/Outputs.cpp +++ b/src/Outputs.cpp @@ -1,6 +1,6 @@ /* ------------------------------------------------------------------ * Copyright (C) 2011 Martin Storsjo - * Copyright (C) 2020 Matthias P. Braendli + * Copyright (C) 2024 Matthias P. Braendli * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ */ #include "Outputs.h" +#include <chrono> #include <string> #include <stdexcept> #include <cstring> @@ -142,6 +143,11 @@ EDI::EDI() : EDI::~EDI() { } +void EDI::set_verbose(bool verbose) +{ + m_edi_conf.verbose = verbose; +} + void EDI::set_odr_version_tag(const std::string& odr_version_tag) { m_odr_version_tag = odr_version_tag; |