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:
parent
863badd91e
commit
ec6d26788a
|
@ -55,8 +55,8 @@ struct decoder_control {
|
|||
struct audio_format out_audio_format;
|
||||
|
||||
struct song *current_song;
|
||||
struct song *volatile next_song;
|
||||
volatile float total_time;
|
||||
struct song *next_song;
|
||||
float total_time;
|
||||
};
|
||||
|
||||
extern struct decoder_control dc;
|
||||
|
|
Loading…
Reference in New Issue