music_pipe: removed "volatile"
The "volatile" keyword doesn't help here, because we have proper memory barriers, but it disables some optimizations. Remove it.
This commit is contained in:
parent
39bf84aa9f
commit
b42dad9b05
@ -44,10 +44,10 @@ struct music_pipe {
|
||||
unsigned num_chunks;
|
||||
|
||||
/** the index of the first decoded chunk */
|
||||
unsigned int volatile begin;
|
||||
unsigned begin;
|
||||
|
||||
/** the index after the last decoded chunk */
|
||||
unsigned int volatile end;
|
||||
unsigned end;
|
||||
|
||||
/** non-zero if the player thread should only we woken up if
|
||||
the buffer becomes non-empty */
|
||||
|
Loading…
Reference in New Issue
Block a user