From ac51c9cce67dcaa968f527e54c48f20d54117c76 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 31 Oct 2014 17:18:45 -0700 Subject: Add preliminary AL_EXT_BFORMAT support Currently missing the AL_ORIENTATION source property. Gain stepping also does not work. --- OpenAL32/Include/alBuffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenAL32/Include/alBuffer.h') diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index b67c7034..dd046da8 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -32,6 +32,8 @@ enum UserFmtChannels { UserFmtX51 = AL_5POINT1_SOFT, /* (WFX order) */ UserFmtX61 = AL_6POINT1_SOFT, /* (WFX order) */ UserFmtX71 = AL_7POINT1_SOFT, /* (WFX order) */ + UserFmtBFormat2D = 0x10000000, /* WXY */ + UserFmtBFormat3D, /* WXYZ */ }; ALuint BytesFromUserFmt(enum UserFmtType type) DECL_CONST; @@ -56,6 +58,8 @@ enum FmtChannels { FmtX51 = UserFmtX51, FmtX61 = UserFmtX61, FmtX71 = UserFmtX71, + FmtBFormat2D = UserFmtBFormat2D, + FmtBFormat3D = UserFmtBFormat3D, }; #define MAX_INPUT_CHANNELS (8) -- cgit v1.2.3