Commit b42dad9b authored by Max Kellermann's avatar Max Kellermann

music_pipe: removed "volatile"

The "volatile" keyword doesn't help here, because we have proper memory barriers, but it disables some optimizations. Remove it.
parent 39bf84aa
...@@ -44,10 +44,10 @@ struct music_pipe { ...@@ -44,10 +44,10 @@ struct music_pipe {
unsigned num_chunks; unsigned num_chunks;
/** the index of the first decoded chunk */ /** the index of the first decoded chunk */
unsigned int volatile begin; unsigned begin;
/** the index after the last decoded chunk */ /** 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 /** non-zero if the player thread should only we woken up if
the buffer becomes non-empty */ the buffer becomes non-empty */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment