player: removed "volatile" attributes
Removed the "volatile" attributes from several variables which are not important for synchronization.
This commit is contained in:
@@ -64,16 +64,16 @@ struct player_control {
|
|||||||
volatile enum player_command command;
|
volatile enum player_command command;
|
||||||
volatile enum player_state state;
|
volatile enum player_state state;
|
||||||
volatile int8_t error;
|
volatile int8_t error;
|
||||||
volatile uint16_t bit_rate;
|
uint16_t bit_rate;
|
||||||
struct audio_format audio_format;
|
struct audio_format audio_format;
|
||||||
volatile float total_time;
|
float total_time;
|
||||||
volatile float elapsed_time;
|
float elapsed_time;
|
||||||
struct song *volatile next_song;
|
struct song *volatile next_song;
|
||||||
struct song *errored_song;
|
struct song *errored_song;
|
||||||
volatile double seek_where;
|
volatile double seek_where;
|
||||||
volatile float cross_fade_seconds;
|
float cross_fade_seconds;
|
||||||
volatile uint16_t software_volume;
|
uint16_t software_volume;
|
||||||
volatile double total_play_time;
|
double total_play_time;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct player_control pc;
|
extern struct player_control pc;
|
||||||
|
Reference in New Issue
Block a user