decoder: removed "volatile" modifier
The variable "next_song" is already protected by a memory barrier. "total_time" is not important for synchronization, and we don't need "volatile" here.
This commit is contained in:
@@ -55,8 +55,8 @@ struct decoder_control {
|
|||||||
struct audio_format out_audio_format;
|
struct audio_format out_audio_format;
|
||||||
|
|
||||||
struct song *current_song;
|
struct song *current_song;
|
||||||
struct song *volatile next_song;
|
struct song *next_song;
|
||||||
volatile float total_time;
|
float total_time;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct decoder_control dc;
|
extern struct decoder_control dc;
|
||||||
|
Reference in New Issue
Block a user