diff options
author | Chris Robinson <[email protected]> | 2014-10-31 22:52:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-10-31 22:52:30 -0700 |
commit | 28c1ec830e4ee8d45370d5e4e7d5fb27160bca5c (patch) | |
tree | d5ffc2445078e30ebb3b8922cbb0a56781971e0f /OpenAL32 | |
parent | dd6e622206cce4dc543bad89633531ca303d29e2 (diff) |
Support AL_EXT_MULAW_BFORMAT
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alBuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index 09471fe8..904fd61d 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -1115,10 +1115,12 @@ static ALboolean DecomposeUserFormat(ALenum format, enum UserFmtChannels *chans, { AL_FORMAT_BFORMAT2D_8, UserFmtBFormat2D, UserFmtUByte }, { AL_FORMAT_BFORMAT2D_16, UserFmtBFormat2D, UserFmtShort }, { AL_FORMAT_BFORMAT2D_FLOAT32, UserFmtBFormat2D, UserFmtFloat }, + { AL_FORMAT_BFORMAT2D_MULAW, UserFmtBFormat2D, UserFmtMulaw }, { AL_FORMAT_BFORMAT3D_8, UserFmtBFormat3D, UserFmtUByte }, { AL_FORMAT_BFORMAT3D_16, UserFmtBFormat3D, UserFmtShort }, { AL_FORMAT_BFORMAT3D_FLOAT32, UserFmtBFormat3D, UserFmtFloat }, + { AL_FORMAT_BFORMAT3D_MULAW, UserFmtBFormat3D, UserFmtMulaw }, }; ALuint i; |