diff options
author | Chris Robinson <[email protected]> | 2019-09-13 20:04:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-13 20:04:22 -0700 |
commit | 2646f509ee686f21458c32a990346be6e2a806d1 (patch) | |
tree | 3ff687847b038b43a3ad94bf5778b605d5b86b48 /alc/devformat.h | |
parent | 42ae95b8fafb0ea1fa676b1e0f67b23fd375a817 (diff) |
Store the ambisonic order as unsigned
Diffstat (limited to 'alc/devformat.h')
-rw-r--r-- | alc/devformat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/devformat.h b/alc/devformat.h index 674dd848..e7ff2ec4 100644 --- a/alc/devformat.h +++ b/alc/devformat.h @@ -98,8 +98,8 @@ struct DevFmtTypeTraits<DevFmtFloat> { using Type = ALfloat; }; ALuint BytesFromDevFmt(DevFmtType type) noexcept; -ALuint ChannelsFromDevFmt(DevFmtChannels chans, ALsizei ambiorder) noexcept; -inline ALuint FrameSizeFromDevFmt(DevFmtChannels chans, DevFmtType type, ALsizei ambiorder) noexcept +ALuint ChannelsFromDevFmt(DevFmtChannels chans, ALuint ambiorder) noexcept; +inline ALuint FrameSizeFromDevFmt(DevFmtChannels chans, DevFmtType type, ALuint ambiorder) noexcept { return ChannelsFromDevFmt(chans, ambiorder) * BytesFromDevFmt(type); } enum class AmbiLayout { |