Mark the buffer queue pointers volatile

This commit is contained in:
Chris Robinson 2014-05-10 08:03:53 -07:00
parent 3e28fb33a3
commit e9297d9744

View File

@ -96,8 +96,8 @@ typedef struct ALsource {
ALuint position_fraction;
/** Source Buffer Queue info. */
ALbufferlistitem *queue;
ALbufferlistitem *current_buffer;
ALbufferlistitem *volatile queue;
ALbufferlistitem *volatile current_buffer;
RWLock queue_lock;
/** Current buffer sample info. */