From 2cb2ffef72e19737e457048aae57d1c4856142bf Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Fri, 20 Nov 2020 04:27:10 -0800 Subject: Disassociate internal buffer enums from AL enum values --- alc/buffer_storage.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'alc/buffer_storage.cpp') 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) { -- cgit v1.2.3