diff options
author | Sean Greenslade <sean@seangreenslade.com> | 2017-03-14 19:36:24 -0700 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2017-05-17 04:37:39 +0200 |
commit | c934c373e16acc7b7db6a374b1047649a0875dc3 (patch) | |
tree | 0a22ba27e4da52e99647955bbe9bacb1fb4fcae4 /src/main.c | |
parent | f3ccc0628f3340e1f77eb38084ece2521db9d737 (diff) | |
download | pianobar-windows-c934c373e16acc7b7db6a374b1047649a0875dc3.tar.gz pianobar-windows-c934c373e16acc7b7db6a374b1047649a0875dc3.tar.bz2 pianobar-windows-c934c373e16acc7b7db6a374b1047649a0875dc3.zip |
Added gain_mul setting to soften effect of replaygain.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,7 @@ THE SOFTWARE. #include "ui.h" #include "ui_dispatch.h" #include "ui_readline.h" +#include "settings.h" /* authenticate user */ @@ -238,7 +239,7 @@ static void BarMainStartPlayback(BarApp_t *app) } else { - BarPlayer2SetGain(app->player, curSong->fileGain); + BarPlayer2SetGain(app->player, curSong->fileGain * app->settings.gainMul); BarPlayer2Open(app->player, curSong->audioUrl); /* throw event */ |