aboutsummaryrefslogtreecommitdiffstats
path: root/alc/buffer_storage.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-20 04:27:10 -0800
committerChris Robinson <[email protected]>2020-11-20 04:27:10 -0800
commit2cb2ffef72e19737e457048aae57d1c4856142bf (patch)
tree2cd6b6b2ff55ca69d9ea0f1b75d8ad35cb967b39 /alc/buffer_storage.cpp
parentc3cb09aa0cd8a7e9deeab736087cd8db7298743b (diff)
Disassociate internal buffer enums from AL enum values
Diffstat (limited to 'alc/buffer_storage.cpp')
-rw-r--r--alc/buffer_storage.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/alc/buffer_storage.cpp b/alc/buffer_storage.cpp
index 727cb281..7d3adddd 100644
--- a/alc/buffer_storage.cpp
+++ b/alc/buffer_storage.cpp
@@ -6,7 +6,7 @@
#include <cstdint>
-ALuint BytesFromFmt(FmtType type) noexcept
+uint BytesFromFmt(FmtType type) noexcept
{
switch(type)
{
@@ -19,7 +19,8 @@ ALuint BytesFromFmt(FmtType type) noexcept
}
return 0;
}
-ALuint ChannelsFromFmt(FmtChannels chans, ALuint ambiorder) noexcept
+
+uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept
{
switch(chans)
{