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:
Max Kellermann 2008-11-02 16:58:42 +01:00
parent 39bf84aa9f
commit b42dad9b05

View File

@ -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 */