diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-26 21:00:05 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-26 21:00:05 +0200 |
commit | f3b7cac4b4ea529b79ca6605a6fe8bec215568d3 (patch) | |
tree | d9ec83d273b3c0106509b9c1c769605cf5120317 /conf.c | |
parent | b7a4d6d7f4515c62a0a98629bc7bb2bc04ed8999 (diff) |
added replaygain peak scaling
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } |