diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 18:51:16 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 18:51:16 +0000 |
commit | 6bc445d00f7479c106828651abc3d76ddee5a5a5 (patch) | |
tree | 48ee93aacef62c3abddf29ad0f860917b376ebb8 /src/player.h | |
parent | 57742785b4ebd756ea4c7b05aeed873a103bb9e3 (diff) | |
download | mpd-6bc445d00f7479c106828651abc3d76ddee5a5a5.tar.gz mpd-6bc445d00f7479c106828651abc3d76ddee5a5a5.tar.xz mpd-6bc445d00f7479c106828651abc3d76ddee5a5a5.zip |
volatile fun-ness
git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/player.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/player.h b/src/player.h index 6e60dc274..7bfd1e559 100644 --- a/src/player.h +++ b/src/player.h @@ -51,32 +51,32 @@ #define PLAYER_QUEUE_LOCKED 1 typedef struct _PlayerControl { - mpd_sint8 volatile decodeType; - mpd_sint8 volatile stop; - mpd_sint8 volatile play; - mpd_sint8 volatile pause; - mpd_sint8 volatile state; - mpd_sint8 volatile closeAudio; - mpd_sint8 volatile error; - mpd_uint16 bitRate; - mpd_sint8 bits; - mpd_sint8 channels; - mpd_uint32 sampleRate; - float beginTime; - float totalTime; - float elapsedTime; + volatile mpd_sint8 decodeType; + volatile mpd_sint8 stop; + volatile mpd_sint8 play; + volatile mpd_sint8 pause; + volatile mpd_sint8 state; + volatile mpd_sint8 closeAudio; + volatile mpd_sint8 error; + volatile mpd_uint16 bitRate; + volatile mpd_sint8 bits; + volatile mpd_sint8 channels; + volatile mpd_uint32 sampleRate; + volatile float beginTime; + volatile float totalTime; + volatile float elapsedTime; char file[MAXPATHLEN+1]; char erroredFile[MAXPATHLEN+1]; - mpd_sint8 volatile queueState; - mpd_sint8 volatile queueLockState; - mpd_sint8 volatile lockQueue; - mpd_sint8 volatile unlockQueue; - mpd_sint8 volatile seek; - double volatile seekWhere; - float crossFade; - mpd_uint16 softwareVolume; - double totalPlayTime; - int volatile decode_pid; + volatile mpd_sint8 queueState; + volatile mpd_sint8 queueLockState; + volatile mpd_sint8 lockQueue; + volatile mpd_sint8 unlockQueue; + volatile mpd_sint8 seek; + volatile double seekWhere; + volatile float crossFade; + volatile mpd_uint16 softwareVolume; + volatile double totalPlayTime; + volatile int decode_pid; } PlayerControl; void player_sigChldHandler(int pid, int status); |