diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2017-08-06 00:28:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2017-10-17 01:08:53 +0300 |
commit | 43e508b0b607054d2a720e8d9c3a11947d6f798d (patch) | |
tree | c9d70e031a21ec9dcf45ab1d18727f267724c30f /src/main.cpp | |
parent | fcb5986d9d21d923db2480be5089168fc1d1fcd2 (diff) | |
download | atracdenc-43e508b0b607054d2a720e8d9c3a11947d6f798d.tar.gz |
Simplest gain control - scale first part of frame if the attack transient was detected
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index b74dea1..ee8f862 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -213,7 +213,7 @@ int main(int argc, char* const* argv) { "notransient", optional_argument, NULL, O_NOTRANSIENT}, { "nostdout", no_argument, NULL, O_NOSTDOUT}, { "notonal", no_argument, NULL, O_NOTONAL}, - { "gaincontrol", no_argument, NULL, O_GAINCONTROL}, + { "nogaincontrol", no_argument, NULL, O_GAINCONTROL}, { NULL, 0, NULL, 0} }; @@ -224,7 +224,7 @@ int main(int argc, char* const* argv) uint32_t bfuIdxConst = 0; //0 - auto, no const bool fastBfuNumSearch = false; bool noStdOut = false; - bool noGainControl = true; + bool noGainControl = false; bool noTonalComponents = false; NAtrac1::TAtrac1EncodeSettings::EWindowMode windowMode = NAtrac1::TAtrac1EncodeSettings::EWindowMode::EWM_AUTO; uint32_t winMask = 0; //0 - all is long @@ -281,7 +281,7 @@ int main(int argc, char* const* argv) noTonalComponents = true; break; case O_GAINCONTROL: - noGainControl = false; + noGainControl = true; break; default: printUsage(myName); |