diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-07 16:20:26 +0100 | 
|---|---|---|
| committer | Lars-Dominik Braun <lars@6xq.net> | 2015-03-07 16:20:26 +0100 | 
| commit | 310900e4be52d11388792d776d9f6b89380bbecd (patch) | |
| tree | d4dc1b3d91043b0e8afd73cb9459ba0288d608da /src/player.h | |
| parent | 1cd5c5ec77ea43088982a439b58499be87c62087 (diff) | |
| download | pianobar-310900e4be52d11388792d776d9f6b89380bbecd.tar.gz pianobar-310900e4be52d11388792d776d9f6b89380bbecd.tar.bz2 pianobar-310900e4be52d11388792d776d9f6b89380bbecd.zip | |
player: Ignore volume change before playback started
Fixes issue #508.
Diffstat (limited to 'src/player.h')
| -rw-r--r-- | src/player.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/src/player.h b/src/player.h index 0363e59..5c60e59 100644 --- a/src/player.h +++ b/src/player.h @@ -49,9 +49,13 @@ typedef struct {  	pthread_cond_t pauseCond;  	enum { -		PLAYER_DEAD = 0, /* thread is not running */ -		PLAYER_STARTING, /* thread is starting */ +		/* not running */ +		PLAYER_DEAD = 0, +		/* running, but not ready to play music yet */ +		PLAYER_WAITING, +		/* currently playing a song */  		PLAYER_PLAYING, +		/* finished playing a song */  		PLAYER_FINISHED,  	} mode; | 
