summaryrefslogtreecommitdiff
path: root/conf.c
diff options
context:
space:
mode:
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);
}