From 3556da0d022dca2a65ed7d1fe736855fac728c95 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 25 Apr 2016 18:56:59 -0700 Subject: Start AL_SOFT_buffer_samples2 as a replacement for AL_SOFT_buffer_samples --- Alc/ALc.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index d9cf4e69..ae678b19 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -288,6 +288,10 @@ static const ALCfunction alcFunctions[] = { DECL(alGetSource3i64SOFT), DECL(alGetSourcei64vSOFT), + DECL(alBufferSamplesSOFT), + DECL(alGetBufferSamplesSOFT), + DECL(alIsBufferFormatSupportedSOFT), + { NULL, NULL } }; #undef DECL @@ -452,6 +456,15 @@ static const ALCenums enumeration[] = { DECL(AL_FORMAT_MONO_ALAW_EXT), DECL(AL_FORMAT_STEREO_ALAW_EXT), + DECL(AL_FORMAT_BFORMAT2D_8), + DECL(AL_FORMAT_BFORMAT2D_16), + DECL(AL_FORMAT_BFORMAT2D_FLOAT32), + DECL(AL_FORMAT_BFORMAT2D_MULAW), + DECL(AL_FORMAT_BFORMAT3D_8), + DECL(AL_FORMAT_BFORMAT3D_16), + DECL(AL_FORMAT_BFORMAT3D_FLOAT32), + DECL(AL_FORMAT_BFORMAT3D_MULAW), + DECL(AL_MONO8_SOFT), DECL(AL_MONO16_SOFT), DECL(AL_MONO32F_SOFT), @@ -473,14 +486,12 @@ static const ALCenums enumeration[] = { DECL(AL_7POINT1_8_SOFT), DECL(AL_7POINT1_16_SOFT), DECL(AL_7POINT1_32F_SOFT), - DECL(AL_FORMAT_BFORMAT2D_8), - DECL(AL_FORMAT_BFORMAT2D_16), - DECL(AL_FORMAT_BFORMAT2D_FLOAT32), - DECL(AL_FORMAT_BFORMAT2D_MULAW), - DECL(AL_FORMAT_BFORMAT3D_8), - DECL(AL_FORMAT_BFORMAT3D_16), - DECL(AL_FORMAT_BFORMAT3D_FLOAT32), - DECL(AL_FORMAT_BFORMAT3D_MULAW), + DECL(AL_BFORMAT2D_8_SOFT), + DECL(AL_BFORMAT2D_16_SOFT), + DECL(AL_BFORMAT2D_32F_SOFT), + DECL(AL_BFORMAT3D_8_SOFT), + DECL(AL_BFORMAT3D_16_SOFT), + DECL(AL_BFORMAT3D_32F_SOFT), DECL(AL_MONO_SOFT), DECL(AL_STEREO_SOFT), @@ -489,6 +500,8 @@ static const ALCenums enumeration[] = { DECL(AL_5POINT1_SOFT), DECL(AL_6POINT1_SOFT), DECL(AL_7POINT1_SOFT), + DECL(AL_BFORMAT2D_SOFT), + DECL(AL_BFORMAT3D_SOFT), DECL(AL_BYTE_SOFT), DECL(AL_UNSIGNED_BYTE_SOFT), @@ -500,6 +513,7 @@ static const ALCenums enumeration[] = { DECL(AL_DOUBLE_SOFT), DECL(AL_BYTE3_SOFT), DECL(AL_UNSIGNED_BYTE3_SOFT), + DECL(AL_MULAW_SOFT), DECL(AL_FREQUENCY), DECL(AL_BITS), -- cgit v1.2.3