From 310900e4be52d11388792d776d9f6b89380bbecd Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 7 Mar 2015 16:20:26 +0100 Subject: player: Ignore volume change before playback started Fixes issue #508. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index c4bb95a..21d833f 100644 --- a/src/main.c +++ b/src/main.c @@ -292,7 +292,7 @@ static void BarMainStartPlayback (BarApp_t *app, pthread_t *playerThread) { /* prevent race condition, mode must _not_ be DEAD if * thread has been started */ - app->player.mode = PLAYER_STARTING; + app->player.mode = PLAYER_WAITING; /* start player */ pthread_create (playerThread, NULL, BarPlayerThread, &app->player); -- cgit v1.2.3