diff options
author | Chris Robinson <[email protected]> | 2016-07-07 19:48:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-07 19:48:21 -0700 |
commit | 0aae992f946c397dbed79b0b7dd41fb1f9fe0087 (patch) | |
tree | ef122fdd35da09f962d0e45ced81bbb19c8129e5 /OpenAL32/Include | |
parent | 745cad52315cac31f6ecdb131f710ad60f4f8cac (diff) |
Reorder some source fields
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 49bda7e4..4b047b80 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -167,6 +167,11 @@ typedef struct ALsource { ALenum state; ALenum new_state; + /** Source Buffer Queue info. */ + RWLock queue_lock; + ATOMIC(ALbufferlistitem*) queue; + ATOMIC(ALbufferlistitem*) current_buffer; + /** * Source offset in samples, relative to the currently playing buffer, NOT * the whole queue, and the fractional (fixed-point) offset to the next @@ -175,11 +180,6 @@ typedef struct ALsource { ATOMIC(ALuint) position; ATOMIC(ALuint) position_fraction; - /** Source Buffer Queue info. */ - ATOMIC(ALbufferlistitem*) queue; - ATOMIC(ALbufferlistitem*) current_buffer; - RWLock queue_lock; - /** Current buffer sample info. */ ALuint NumChannels; ALuint SampleSize; |