diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2020-08-28 00:09:46 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2020-08-28 00:09:46 -0700 |
commit | 1f486f820e97fd5ce1da40a87aa3b743800fb5b0 (patch) | |
tree | 04e70d2410fcaad3167899b81b2661b57c0488fe /alc/devformat.h | |
parent | ecf30de36f6487c1f8a19ae0d03ba810078706f4 (diff) |
Use a separate structure for buffer storage
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 4e4b9a53..698ae72d 100644 --- a/alc/devformat.h +++ b/alc/devformat.h @@ -85,14 +85,14 @@ 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 { +enum class DevAmbiLayout : ALenum { FuMa = ALC_FUMA_SOFT, /* FuMa channel order */ ACN = ALC_ACN_SOFT, /* ACN channel order */ Default = ACN }; -enum class AmbiNorm { +enum class DevAmbiScaling : ALenum { FuMa = ALC_FUMA_SOFT, /* FuMa normalization */ SN3D = ALC_SN3D_SOFT, /* SN3D normalization */ N3D = ALC_N3D_SOFT, /* N3D normalization */ |