diff options
author | Chris Robinson <[email protected]> | 2019-07-31 09:20:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-31 09:20:53 -0700 |
commit | a0aa5bc80a5c38f4ba92e38f924f4141344da819 (patch) | |
tree | 88e7622b2067ab67bb1b14c94648a855315c6053 /al/buffer.h | |
parent | 4cd7eee01cd7ab2cb14ca71551954f5bd76bfd12 (diff) |
Add iterators to ALbufferlistitem
And change some types to ALuint
Diffstat (limited to 'al/buffer.h')
-rw-r--r-- | al/buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/al/buffer.h b/al/buffer.h index 1d5873e5..e5149bb1 100644 --- a/al/buffer.h +++ b/al/buffer.h @@ -92,7 +92,7 @@ struct ALbuffer { ALsizei Frequency{0}; ALbitfieldSOFT Access{0u}; - ALsizei SampleLen{0}; + ALuint SampleLen{0u}; FmtChannels mFmtChannels{}; FmtType mFmtType{}; @@ -101,8 +101,8 @@ struct ALbuffer { ALsizei OriginalSize{0}; ALsizei OriginalAlign{0}; - ALsizei LoopStart{0}; - ALsizei LoopEnd{0}; + ALuint LoopStart{0u}; + ALuint LoopEnd{0u}; std::atomic<ALsizei> UnpackAlign{0}; std::atomic<ALsizei> PackAlign{0}; |