aboutsummaryrefslogtreecommitdiffstats
path: root/alc/devformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/devformat.h')
-rw-r--r--alc/devformat.h4
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 {