From eca0e6db3b1e0aef07971706964190afe38cf82c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 3 Nov 2008 21:49:36 +0100 Subject: player: removed "volatile" attributes Removed the "volatile" attributes from several variables which are not important for synchronization. --- src/player_control.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/player_control.h') 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; -- cgit v1.2.3