diff options
author | Max Kellermann <max@duempel.org> | 2008-11-02 16:58:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-02 16:58:42 +0100 |
commit | b42dad9b054495d709d60646d98b7e015f9c374a (patch) | |
tree | b7f91632dd10d912327b2a82df2f9c1565c2802b /src | |
parent | 39bf84aa9f2ff43aa3694fe9a5b501573c7746f5 (diff) | |
download | mpd-b42dad9b054495d709d60646d98b7e015f9c374a.tar.gz mpd-b42dad9b054495d709d60646d98b7e015f9c374a.tar.xz mpd-b42dad9b054495d709d60646d98b7e015f9c374a.zip |
music_pipe: removed "volatile"
The "volatile" keyword doesn't help here, because we have proper
memory barriers, but it disables some optimizations. Remove it.
Diffstat (limited to '')
-rw-r--r-- | src/pipe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipe.h b/src/pipe.h index bfc1a7974..4d57adc04 100644 --- a/src/pipe.h +++ b/src/pipe.h @@ -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 */ |