aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2018-12-05 00:14:29 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2018-12-05 00:14:29 +0300
commitb2342e902d62067fda5a08c7cccff62ee3619fc5 (patch)
tree226144be966246d69244a6440e485b1bf46a84e5 /src/main.cpp
parentd8014b6a75086decf99526d1538a172b527536e5 (diff)
downloadatracdenc-b2342e902d62067fda5a08c7cccff62ee3619fc5.tar.gz
[atrac3] Remove tonal extraction code
Current implementation doesn't add notisible quality improvements, but often adds artifacts due to tonal bit allocation penalty. Proper implementation must use tonal component only if penalty of tonal allocation less than gain generic bit allocation.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 51a2cac..a1f2867 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,9 +69,8 @@ static string GetHelp()
"WARNING: It is not a lowpass filter! Do not use it to cut off hi frequency."
"\n --bfuidxfast\t enable fast search of BFU amount (ATRAC1)"
"\n --notransient[=mask] disable transient detection and use optional mask to set bands with short MDCT window "
- "(ATRAC1)"
+ "(ATRAC1)";
/*"\n --nogaincontrol disable gain control (ATRAC3)"*/
- "\n --notonal disable tonal components (ATRAC3)";
}
static int checkedStoi(const char* data, int min, int max, int def)
@@ -212,7 +211,6 @@ int main(int argc, char* const* argv)
{ "bfuidxfast", no_argument, NULL, O_BFUIDXFAST},
{ "notransient", optional_argument, NULL, O_NOTRANSIENT},
{ "nostdout", no_argument, NULL, O_NOSTDOUT},
- { "notonal", no_argument, NULL, O_NOTONAL},
{ "nogaincontrol", no_argument, NULL, O_NOGAINCONTROL},
{ NULL, 0, NULL, 0}
};