Add logarithmic volume_control_profile mode

This commit is contained in:
dasl-
2023-07-02 09:27:53 -04:00
parent c2abee35d0
commit baf51cf2a7
6 changed files with 47 additions and 2 deletions
+4 -2
View File
@@ -905,9 +905,11 @@ int parse_options(int argc, char **argv) {
config.volume_control_profile = VCP_standard;
else if (strcasecmp(str, "flat") == 0)
config.volume_control_profile = VCP_flat;
else if (strcasecmp(str, "logarithmic") == 0)
config.volume_control_profile = VCP_logarithmic;
else
die("Invalid volume_control_profile choice \"%s\". It should be \"standard\" (default) "
"or \"flat\"",
die("Invalid volume_control_profile choice \"%s\". It should be \"standard\" (default), "
"\"logarithmic\", or \"flat\"",
str);
}