aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-31 09:20:53 -0700
committerChris Robinson <[email protected]>2019-07-31 09:20:53 -0700
commita0aa5bc80a5c38f4ba92e38f924f4141344da819 (patch)
tree88e7622b2067ab67bb1b14c94648a855315c6053 /al/buffer.h
parent4cd7eee01cd7ab2cb14ca71551954f5bd76bfd12 (diff)
Add iterators to ALbufferlistitem
And change some types to ALuint
Diffstat (limited to 'al/buffer.h')
-rw-r--r--al/buffer.h6
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};