aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 16:58:42 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 16:58:42 +0100
commitb42dad9b054495d709d60646d98b7e015f9c374a (patch)
treeb7f91632dd10d912327b2a82df2f9c1565c2802b
parent39bf84aa9f2ff43aa3694fe9a5b501573c7746f5 (diff)
downloadmpd-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.
-rw-r--r--src/pipe.h4
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 */