diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-09-11 08:01:12 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-09-11 08:05:25 +0200 |
commit | e59d0d8e8d8b5998e2a457deee41c59c030a074f (patch) | |
tree | 7df298e8cb2598380470fd9ea3e8e2e9f1f55d48 /src | |
parent | c0999072fa4b0f555d338340c3ee3c5eaa9bee05 (diff) | |
download | ODR-AudioEnc-e59d0d8e8d8b5998e2a457deee41c59c030a074f.tar.gz ODR-AudioEnc-e59d0d8e8d8b5998e2a457deee41c59c030a074f.tar.bz2 ODR-AudioEnc-e59d0d8e8d8b5998e2a457deee41c59c030a074f.zip |
Add --vlc-gain option for compatibility
Diffstat (limited to 'src')
-rw-r--r-- | src/odr-audioenc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp index 68a99a1..e3708c1 100644 --- a/src/odr-audioenc.cpp +++ b/src/odr-audioenc.cpp @@ -1370,6 +1370,7 @@ int main(int argc, char *argv[]) {"bitrate", required_argument, 0, 'b'}, {"bandwidth", required_argument, 0, 'B'}, {"audio-gain", required_argument, 0, 'g'}, + {"vlc-gain", required_argument, 0, 10 }, // backward-compatibility to v3 {"channels", required_argument, 0, 'c'}, {"dabmode", required_argument, 0, 4 }, {"dabpsy", required_argument, 0, 5 }, @@ -1532,6 +1533,9 @@ int main(int argc, char *argv[]) return 1; } break; + case 10: + fprintf(stderr, "WARNING: the --vlc-gain option has been deprecated in favour of --audio-gain\n"); + // fallthrough case 'g': audio_enc.gain_dB = std::stod(optarg); break; |