From f3b7cac4b4ea529b79ca6605a6fe8bec215568d3 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sat, 26 Sep 2009 21:00:05 +0200 Subject: added replaygain peak scaling --- conf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf.c') 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); } -- cgit v1.2.3