From 7f4dcefc808a8f579f2c70821e9c76d000d04976 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 15 Jun 2011 23:46:35 -0700 Subject: Remove the databuffer functions and structs It's been disabled for a while now, and not likely to be re-enabled. --- Alc/ALc.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index e7bb59ba..f97fa6fa 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -56,7 +56,6 @@ DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xad, #include "alSource.h" #include "alBuffer.h" #include "alAuxEffectSlot.h" -#include "alDatabuffer.h" #include "bs2b.h" #include "alu.h" @@ -273,25 +272,6 @@ static const ALCfunction alcFunctions[] = { { "alGetBufferSamplesSOFT", (ALCvoid *) alGetBufferSamplesSOFT }, { "alIsBufferFormatSupportedSOFT",(ALCvoid *) alIsBufferFormatSupportedSOFT}, -#if 0 - { "alGenDatabuffersEXT", (ALCvoid *) alGenDatabuffersEXT }, - { "alDeleteDatabuffersEXT", (ALCvoid *) alDeleteDatabuffersEXT }, - { "alIsDatabufferEXT", (ALCvoid *) alIsDatabufferEXT }, - { "alDatabufferDataEXT", (ALCvoid *) alDatabufferDataEXT }, - { "alDatabufferSubDataEXT", (ALCvoid *) alDatabufferSubDataEXT }, - { "alGetDatabufferSubDataEXT", (ALCvoid *) alGetDatabufferSubDataEXT}, - { "alDatabufferfEXT", (ALCvoid *) alDatabufferfEXT }, - { "alDatabufferfvEXT", (ALCvoid *) alDatabufferfvEXT }, - { "alDatabufferiEXT", (ALCvoid *) alDatabufferiEXT }, - { "alDatabufferivEXT", (ALCvoid *) alDatabufferivEXT }, - { "alGetDatabufferfEXT", (ALCvoid *) alGetDatabufferfEXT }, - { "alGetDatabufferfvEXT", (ALCvoid *) alGetDatabufferfvEXT }, - { "alGetDatabufferiEXT", (ALCvoid *) alGetDatabufferiEXT }, - { "alGetDatabufferivEXT", (ALCvoid *) alGetDatabufferivEXT }, - { "alSelectDatabufferEXT", (ALCvoid *) alSelectDatabufferEXT }, - { "alMapDatabufferEXT", (ALCvoid *) alMapDatabufferEXT }, - { "alUnmapDatabufferEXT", (ALCvoid *) alUnmapDatabufferEXT }, -#endif { NULL, (ALCvoid *) NULL } }; @@ -2650,7 +2630,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) InitUIntMap(&device->BufferMap); InitUIntMap(&device->EffectMap); InitUIntMap(&device->FilterMap); - InitUIntMap(&device->DatabufferMap); //Set output format if(ConfigValueExists(NULL, "frequency")) @@ -2781,15 +2760,6 @@ ALC_API ALCboolean ALC_APIENTRY alcCloseDevice(ALCdevice *pDevice) } ResetUIntMap(&pDevice->FilterMap); - if(pDevice->DatabufferMap.size > 0) - { -#ifdef _DEBUG - AL_PRINT("alcCloseDevice(): deleting %d Databuffer(s)\n", pDevice->DatabufferMap.size); -#endif - ReleaseALDatabuffers(pDevice); - } - ResetUIntMap(&pDevice->DatabufferMap); - free(pDevice->Bs2b); pDevice->Bs2b = NULL; @@ -2836,7 +2806,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void) InitUIntMap(&device->BufferMap); InitUIntMap(&device->EffectMap); InitUIntMap(&device->FilterMap); - InitUIntMap(&device->DatabufferMap); //Set output format device->Frequency = 44100; -- cgit v1.2.3