more volatile stuff

git-svn-id: https://svn.musicpd.org/mpd/trunk@699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-04-11 23:44:37 +00:00
parent 26f72edc46
commit bbf84374a5
2 changed files with 6 additions and 6 deletions

View File

@ -28,9 +28,9 @@
#define AUDIO_AO_DRIVER_DEFAULT "default"
typedef struct _AudioFormat {
mpd_sint8 channels;
mpd_uint32 sampleRate;
mpd_sint8 bits;
mpd_sint8 volatile channels;
mpd_uint32 volatile sampleRate;
mpd_sint8 volatile bits;
} AudioFormat;
void initAudioDriver();

View File

@ -51,13 +51,13 @@
#define PLAYER_QUEUE_LOCKED 1
typedef struct _PlayerControl {
mpd_sint8 decodeType;
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 error;
mpd_sint8 volatile error;
mpd_uint16 bitRate;
mpd_sint8 bits;
mpd_sint8 channels;
@ -72,7 +72,7 @@ typedef struct _PlayerControl {
mpd_sint8 volatile lockQueue;
mpd_sint8 volatile unlockQueue;
mpd_sint8 volatile seek;
double seekWhere;
double volatile seekWhere;
float crossFade;
mpd_uint16 softwareVolume;
double totalPlayTime;