aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alBuffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-04-25 18:56:59 -0700
committerChris Robinson <[email protected]>2016-04-25 18:56:59 -0700
commit3556da0d022dca2a65ed7d1fe736855fac728c95 (patch)
treed9d91dd6e7cc50e1e82a555add1c9ad7c679f5dd /OpenAL32/Include/alBuffer.h
parentb9eacf46414ad5916a5c2c9a342d4d05d8628de4 (diff)
Start AL_SOFT_buffer_samples2 as a replacement for AL_SOFT_buffer_samples
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r--OpenAL32/Include/alBuffer.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index dd046da8..71fe7e30 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -19,21 +19,21 @@ enum UserFmtType {
UserFmtDouble = AL_DOUBLE_SOFT,
UserFmtByte3 = AL_BYTE3_SOFT,
UserFmtUByte3 = AL_UNSIGNED_BYTE3_SOFT,
- UserFmtMulaw,
- UserFmtAlaw,
+ UserFmtMulaw = AL_MULAW_SOFT,
+ UserFmtAlaw = 0x10000000,
UserFmtIMA4,
UserFmtMSADPCM,
};
enum UserFmtChannels {
- UserFmtMono = AL_MONO_SOFT,
- UserFmtStereo = AL_STEREO_SOFT,
- UserFmtRear = AL_REAR_SOFT,
- UserFmtQuad = AL_QUAD_SOFT,
- UserFmtX51 = AL_5POINT1_SOFT, /* (WFX order) */
- UserFmtX61 = AL_6POINT1_SOFT, /* (WFX order) */
- UserFmtX71 = AL_7POINT1_SOFT, /* (WFX order) */
- UserFmtBFormat2D = 0x10000000, /* WXY */
- UserFmtBFormat3D, /* WXYZ */
+ UserFmtMono = AL_MONO_SOFT,
+ UserFmtStereo = AL_STEREO_SOFT,
+ UserFmtRear = AL_REAR_SOFT,
+ UserFmtQuad = AL_QUAD_SOFT,
+ UserFmtX51 = AL_5POINT1_SOFT, /* (WFX order) */
+ UserFmtX61 = AL_6POINT1_SOFT, /* (WFX order) */
+ UserFmtX71 = AL_7POINT1_SOFT, /* (WFX order) */
+ UserFmtBFormat2D = AL_BFORMAT2D_SOFT, /* WXY */
+ UserFmtBFormat3D = AL_BFORMAT3D_SOFT, /* WXYZ */
};
ALuint BytesFromUserFmt(enum UserFmtType type) DECL_CONST;