diff options
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/al/source.h b/al/source.h index 028d0bcd..f17395c3 100644 --- a/al/source.h +++ b/al/source.h @@ -21,7 +21,6 @@ struct ALbuffer; struct ALeffectslot; -struct BufferlistItem; namespace al { @@ -35,6 +34,12 @@ using deque = std::deque<T, al::allocator<T>>; #define INVALID_VOICE_IDX static_cast<ALuint>(-1) +struct ALbufferQueueItem : public VoiceBufferItem { + ALbuffer *mBuffer{nullptr}; + + DISABLE_ALLOC() +}; + struct ALsource { /** Source properties. */ @@ -108,7 +113,7 @@ struct ALsource { ALenum state{AL_INITIAL}; /** Source Buffer Queue head. */ - al::deque<BufferlistItem> mQueue; + al::deque<ALbufferQueueItem> mQueue; std::atomic_flag PropsClean; |