summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3e6e85f..4f4214a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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 */