From 159fb3803b5b63a1b0711043e6bd7c09103306ae Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 12 Apr 2008 04:18:54 +0000 Subject: removed "volatile" from OutputBufferChunk properties There is no danger that gcc will optimize access to OutputBufferChunk properties, since decoder and player work in different chunk objects. It is safe to remove "volatile" here. git-svn-id: https://svn.musicpd.org/mpd/trunk@7318 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/outputBuffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/outputBuffer.h b/src/outputBuffer.h index 9f5a996bb..4c43ac051 100644 --- a/src/outputBuffer.h +++ b/src/outputBuffer.h @@ -33,9 +33,9 @@ #define CHUNK_SIZE 1020 typedef struct _OutputBufferChunk { - volatile mpd_uint16 chunkSize; - volatile mpd_uint16 bitRate; - volatile float times; + mpd_uint16 chunkSize; + mpd_uint16 bitRate; + float times; char data[CHUNK_SIZE]; } OutputBufferChunk; -- cgit v1.2.3