aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:18:54 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:18:54 +0000
commit159fb3803b5b63a1b0711043e6bd7c09103306ae (patch)
tree93a9758a6769f2aebfb67a6b4700ba49c633fa40 /src
parentb0e47fce09be9774ff23f58042c8f760396c1ddc (diff)
downloadmpd-159fb3803b5b63a1b0711043e6bd7c09103306ae.tar.gz
mpd-159fb3803b5b63a1b0711043e6bd7c09103306ae.tar.xz
mpd-159fb3803b5b63a1b0711043e6bd7c09103306ae.zip
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
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.h6
1 files 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;