summaryrefslogtreecommitdiff
path: root/conf.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-26 21:00:05 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-26 21:00:05 +0200
commitf3b7cac4b4ea529b79ca6605a6fe8bec215568d3 (patch)
treed9ec83d273b3c0106509b9c1c769605cf5120317 /conf.c
parentb7a4d6d7f4515c62a0a98629bc7bb2bc04ed8999 (diff)
added replaygain peak scaling
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 45d62dee..017da7d0 100644
--- a/conf.c
+++ b/conf.c
@@ -28,6 +28,7 @@ int conf_hvsc_enable = 0;
char conf_blacklist_plugins[1024]; // plugins listed in this option will not be loaded
int conf_close_send_to_tray = 0;
int conf_replaygain_mode = 0;
+int conf_replaygain_scale = 1;
int
conf_load (void) {
@@ -103,6 +104,9 @@ conf_load (void) {
fprintf (stderr, "config warning: replaygain_mode must be one of 0, 1 or 2\n");
}
}
+ else if (!strcasecmp (str, "replaygain_scale")) {
+ conf_replaygain_scale = atoi (value);
+ }
else {
fprintf (stderr, "error in config file line %d\n", line);
}