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
This commit is contained in:
parent
3339e5dc6a
commit
0bf7716332
10
Alc/ALc.c
10
Alc/ALc.c
@ -234,8 +234,6 @@ static const ALCfunction alcFunctions[] = {
|
|||||||
{ "alGetAuxiliaryEffectSlotf", (ALCvoid *) alGetAuxiliaryEffectSlotf},
|
{ "alGetAuxiliaryEffectSlotf", (ALCvoid *) alGetAuxiliaryEffectSlotf},
|
||||||
{ "alGetAuxiliaryEffectSlotfv", (ALCvoid *) alGetAuxiliaryEffectSlotfv},
|
{ "alGetAuxiliaryEffectSlotfv", (ALCvoid *) alGetAuxiliaryEffectSlotfv},
|
||||||
|
|
||||||
{ "alBufferSubDataEXT", (ALCvoid *) alBufferSubDataEXT },
|
|
||||||
|
|
||||||
{ "alBufferSubDataSOFT", (ALCvoid *) alBufferSubDataSOFT },
|
{ "alBufferSubDataSOFT", (ALCvoid *) alBufferSubDataSOFT },
|
||||||
#if 0
|
#if 0
|
||||||
{ "alGenDatabuffersEXT", (ALCvoid *) alGenDatabuffersEXT },
|
{ "alGenDatabuffersEXT", (ALCvoid *) alGenDatabuffersEXT },
|
||||||
@ -358,10 +356,10 @@ static ALCenum g_eLastNullDeviceError = ALC_NO_ERROR;
|
|||||||
|
|
||||||
// Default context extensions
|
// Default context extensions
|
||||||
static const ALchar alExtList[] =
|
static const ALchar alExtList[] =
|
||||||
"AL_EXTX_buffer_sub_data AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE "
|
"AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 "
|
||||||
"AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXTX_loop_points "
|
"AL_EXT_LINEAR_DISTANCE AL_EXTX_loop_points AL_EXT_MCFORMATS AL_EXT_MULAW "
|
||||||
"AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET "
|
"AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model "
|
||||||
"AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data";
|
"AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data";
|
||||||
|
|
||||||
// Mixing Priority Level
|
// Mixing Priority Level
|
||||||
static ALint RTPrioLevel;
|
static ALint RTPrioLevel;
|
||||||
|
@ -13,16 +13,6 @@
|
|||||||
#include "AL/alc.h"
|
#include "AL/alc.h"
|
||||||
#include "AL/alext.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
|
#ifndef AL_EXT_sample_buffer_object
|
||||||
#define AL_EXT_sample_buffer_object 1
|
#define AL_EXT_sample_buffer_object 1
|
||||||
typedef ptrdiff_t ALintptrEXT;
|
typedef ptrdiff_t ALintptrEXT;
|
||||||
|
@ -449,11 +449,6 @@ AL_API ALvoid AL_APIENTRY alBufferSubDataSOFT(ALuint buffer,ALenum format,const
|
|||||||
ProcessContext(Context);
|
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)
|
AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum eParam, ALfloat flValue)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user