From b42dad9b054495d709d60646d98b7e015f9c374a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Nov 2008 16:58:42 +0100 Subject: music_pipe: removed "volatile" The "volatile" keyword doesn't help here, because we have proper memory barriers, but it disables some optimizations. Remove it. --- src/pipe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pipe.h') 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 */ -- cgit v1.2.3