aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-29 15:49:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-29 15:49:29 +0200
commit226d52b36fe648215f367d352ad6e5eb38e116be (patch)
treea8dc789a0f3585b07da36f952a69ff554a1bf999 /src/player_control.h
parent0352766dca3da5266e4714124fea119be82c4188 (diff)
downloadmpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.gz
mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.xz
mpd-226d52b36fe648215f367d352ad6e5eb38e116be.zip
switch to C99 types, part II
Do full C99 integer type conversion in all modules which were not touched by Eric's merged patch.
Diffstat (limited to 'src/player_control.h')
-rw-r--r--src/player_control.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 805f0325d..ccc98d9d3 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -85,21 +85,21 @@ struct player_control {
Notify notify;
volatile enum player_command command;
volatile enum player_state state;
- volatile mpd_sint8 error;
- volatile mpd_uint16 bitRate;
- volatile mpd_sint8 bits;
- volatile mpd_sint8 channels;
- volatile mpd_uint32 sampleRate;
+ volatile int8_t error;
+ volatile uint16_t bitRate;
+ volatile int8_t bits;
+ volatile int8_t channels;
+ volatile uint32_t sampleRate;
volatile float totalTime;
volatile float elapsedTime;
volatile float fileTime;
Song *volatile next_song;
Song *errored_song;
volatile enum player_queue_state queueState;
- volatile mpd_sint8 queueLockState;
+ volatile int8_t queueLockState;
volatile double seekWhere;
volatile float crossFade;
- volatile mpd_uint16 softwareVolume;
+ volatile uint16_t softwareVolume;
volatile double totalPlayTime;
};