diff options
author | Chris Robinson <[email protected]> | 2010-12-02 01:46:43 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-12-02 01:46:43 -0800 |
commit | 0bf771633287b70659f1a000f94c0d2d9cd0a8d6 (patch) | |
tree | 250be62fbf9a039b203ee5c013dbdd83fbdaea49 | |
parent | 3339e5dc6ac0f74474565775a736460dac7c4de1 (diff) |
Remove incomplete EXT_buffer_sub_data, as it's (temporarily) superceded by SOFT_buffer_sub_data
The EXT version can come back when other implementations take an interest
-rw-r--r-- | Alc/ALc.c | 10 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 10 | ||||
-rw-r--r-- | OpenAL32/alBuffer.c | 5 |
3 files changed, 4 insertions, 21 deletions
@@ -234,8 +234,6 @@ static const ALCfunction alcFunctions[] = { { "alGetAuxiliaryEffectSlotf", (ALCvoid *) alGetAuxiliaryEffectSlotf}, { "alGetAuxiliaryEffectSlotfv", (ALCvoid *) alGetAuxiliaryEffectSlotfv}, - { "alBufferSubDataEXT", (ALCvoid *) alBufferSubDataEXT }, - { "alBufferSubDataSOFT", (ALCvoid *) alBufferSubDataSOFT }, #if 0 { "alGenDatabuffersEXT", (ALCvoid *) alGenDatabuffersEXT }, @@ -358,10 +356,10 @@ static ALCenum g_eLastNullDeviceError = ALC_NO_ERROR; // Default context extensions static const ALchar alExtList[] = - "AL_EXTX_buffer_sub_data AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE " - "AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXTX_loop_points " - "AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET " - "AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data"; + "AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 " + "AL_EXT_LINEAR_DISTANCE AL_EXTX_loop_points AL_EXT_MCFORMATS AL_EXT_MULAW " + "AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model " + "AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data"; // Mixing Priority Level static ALint RTPrioLevel; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 5d6f9b98..9a7b01ba 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -13,16 +13,6 @@ #include "AL/alc.h" #include "AL/alext.h" -#ifndef AL_EXT_buffer_sub_data -#define AL_EXT_buffer_sub_data 1 -#define AL_BYTE_RW_OFFSETS_EXT 0x1031 -#define AL_SAMPLE_RW_OFFSETS_EXT 0x1032 -typedef ALvoid (AL_APIENTRY*PFNALBUFFERSUBDATAEXTPROC)(ALuint,ALenum,const ALvoid*,ALsizei,ALsizei); -#ifdef AL_ALEXT_PROTOTYPES -AL_API ALvoid AL_APIENTRY alBufferSubDataEXT(ALuint buffer,ALenum format,const ALvoid *data,ALsizei offset,ALsizei length); -#endif -#endif - #ifndef AL_EXT_sample_buffer_object #define AL_EXT_sample_buffer_object 1 typedef ptrdiff_t ALintptrEXT; diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index 8f271747..111c4cb2 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -449,11 +449,6 @@ AL_API ALvoid AL_APIENTRY alBufferSubDataSOFT(ALuint buffer,ALenum format,const ProcessContext(Context); } -AL_API ALvoid AL_APIENTRY alBufferSubDataEXT(ALuint buffer,ALenum format,const ALvoid *data,ALsizei offset,ALsizei length) -{ - alBufferSubDataSOFT(buffer, format, data, offset, length); -} - AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum eParam, ALfloat flValue) { |