diff options
author | Chris Robinson <[email protected]> | 2012-03-13 15:32:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-13 15:32:44 -0700 |
commit | 07e34cc3cf0c741c1c0092bf78f2ae19fa0177a4 (patch) | |
tree | d6ffb8f4fca6021a75f6e67f903931a0860bc9df /OpenAL32 | |
parent | f7f1dd1346e66e58e474a1c6aba746cedeb43ab8 (diff) |
Use enums to specify the default channel configuration and sample type
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3b5e00bb..cdcb6421 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -515,7 +515,9 @@ enum DevFmtType { DevFmtUShort = ALC_UNSIGNED_SHORT_SOFT, DevFmtInt = ALC_INT_SOFT, DevFmtUInt = ALC_UNSIGNED_INT_SOFT, - DevFmtFloat = ALC_FLOAT_SOFT + DevFmtFloat = ALC_FLOAT_SOFT, + + DevFmtTypeDefault = DevFmtFloat }; enum DevFmtChannels { DevFmtMono = ALC_MONO_SOFT, @@ -526,7 +528,9 @@ enum DevFmtChannels { DevFmtX71 = ALC_7POINT1_SOFT, /* Similar to 5.1, except using the side channels instead of back */ - DevFmtX51Side = 0x80000000 | ALC_5POINT1_SOFT + DevFmtX51Side = 0x80000000, + + DevFmtChannelsDefault = DevFmtStereo }; ALuint BytesFromDevFmt(enum DevFmtType type); |