aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-18 19:43:59 -0700
committerChris Robinson <[email protected]>2011-09-18 19:43:59 -0700
commit98b2fa6cb523cab6702bfeee36e089711012b9d8 (patch)
treedc092d5c92faf4f717e27aff7a94320f4fb2b51f /OpenAL32/Include
parentb615c7d0a2928ca07a3aafdd4013be2e4b951135 (diff)
Use the ALC types for the device format enum values
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index ba7fb54e..185123cf 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -479,22 +479,22 @@ void alc_loopback_probe(enum DevProbe type);
/* Device formats */
enum DevFmtType {
- DevFmtByte = AL_BYTE,
- DevFmtUByte = AL_UNSIGNED_BYTE,
- DevFmtShort = AL_SHORT,
- DevFmtUShort = AL_UNSIGNED_SHORT,
- DevFmtFloat = AL_FLOAT
+ DevFmtByte = ALC_BYTE,
+ DevFmtUByte = ALC_UNSIGNED_BYTE,
+ DevFmtShort = ALC_SHORT,
+ DevFmtUShort = ALC_UNSIGNED_SHORT,
+ DevFmtFloat = ALC_FLOAT
};
enum DevFmtChannels {
- DevFmtMono = AL_MONO,
- DevFmtStereo = AL_STEREO,
- DevFmtQuad = AL_QUAD,
- DevFmtX51 = AL_5POINT1,
- DevFmtX61 = AL_6POINT1,
- DevFmtX71 = AL_7POINT1,
+ DevFmtMono = ALC_MONO,
+ DevFmtStereo = ALC_STEREO,
+ DevFmtQuad = ALC_QUAD,
+ DevFmtX51 = ALC_5POINT1,
+ DevFmtX61 = ALC_6POINT1,
+ DevFmtX71 = ALC_7POINT1,
/* Similar to 5.1, except using the side channels instead of back */
- DevFmtX51Side = 0x80000000 | AL_5POINT1
+ DevFmtX51Side = 0x80000000 | ALC_5POINT1
};
ALuint BytesFromDevFmt(enum DevFmtType type);