diff options
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r-- | alc/alcmain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index 338897ab..f7842d96 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -340,9 +340,9 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> { ALCdevice& operator=(const ALCdevice&) = delete; ~ALCdevice(); - ALsizei bytesFromFmt() const noexcept { return BytesFromDevFmt(FmtType); } - ALsizei channelsFromFmt() const noexcept { return ChannelsFromDevFmt(FmtChans, mAmbiOrder); } - ALsizei frameSizeFromFmt() const noexcept { return bytesFromFmt() * channelsFromFmt(); } + ALuint bytesFromFmt() const noexcept { return BytesFromDevFmt(FmtType); } + ALuint channelsFromFmt() const noexcept { return ChannelsFromDevFmt(FmtChans, mAmbiOrder); } + ALuint frameSizeFromFmt() const noexcept { return bytesFromFmt() * channelsFromFmt(); } void ProcessHrtf(const size_t SamplesToDo); void ProcessAmbiDec(const size_t SamplesToDo); |