Commit 159fb380 authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

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
parent b0e47fce
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment