diff options
author | Max Kellermann <max@duempel.org> | 2008-11-03 21:49:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-03 21:49:36 +0100 |
commit | eca0e6db3b1e0aef07971706964190afe38cf82c (patch) | |
tree | f09103b1ec24318563ae0ec5f71316cb231972da /src/player_control.h | |
parent | 862bbc21a1864e766d22dab07ac745c20fcb8f59 (diff) | |
download | mpd-eca0e6db3b1e0aef07971706964190afe38cf82c.tar.gz mpd-eca0e6db3b1e0aef07971706964190afe38cf82c.tar.xz mpd-eca0e6db3b1e0aef07971706964190afe38cf82c.zip |
player: removed "volatile" attributes
Removed the "volatile" attributes from several variables which are not
important for synchronization.
Diffstat (limited to 'src/player_control.h')
-rw-r--r-- | src/player_control.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/player_control.h b/src/player_control.h index 2eeb537aa..b16946ce6 100644 --- a/src/player_control.h +++ b/src/player_control.h @@ -64,16 +64,16 @@ struct player_control { volatile enum player_command command; volatile enum player_state state; volatile int8_t error; - volatile uint16_t bit_rate; + uint16_t bit_rate; struct audio_format audio_format; - volatile float total_time; - volatile float elapsed_time; + float total_time; + float elapsed_time; struct song *volatile next_song; struct song *errored_song; volatile double seek_where; - volatile float cross_fade_seconds; - volatile uint16_t software_volume; - volatile double total_play_time; + float cross_fade_seconds; + uint16_t software_volume; + double total_play_time; }; extern struct player_control pc; |