summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-25 19:35:43 -0800
committerChris Robinson <[email protected]>2013-12-25 19:35:43 -0800
commit677b864565d6be9423197ce09dba43579fe20405 (patch)
tree25e66ceea9aeae1d18e6f16ffc93b29648ff8947 /Alc/ALc.c
parentb650ecbc23222ebd295384fce45aaca8cfb5c368 (diff)
Remove the zone, sample, and instrument object types
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f1e92cec..a866302d 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -295,9 +295,6 @@ static const ALCfunction alcFunctions[] = {
DECL(alPresetiSOFT),
DECL(alPresetivSOFT),
DECL(alGetPresetivSOFT),
- DECL(alGenInstrumentsSOFT),
- DECL(alDeleteInstrumentsSOFT),
- DECL(alIsInstrumentSOFT),
DECL(alGenFontsoundsSOFT),
DECL(alDeleteFontsoundsSOFT),
DECL(alIsFontsoundSOFT),
@@ -1980,13 +1977,6 @@ static ALCvoid FreeDevice(ALCdevice *device)
}
ResetUIntMap(&device->PresetMap);
- if(device->InstrumentMap.size > 0)
- {
- WARN("(%p) Deleting %d Instrument(s)\n", device, device->InstrumentMap.size);
- ReleaseALInstruments(device);
- }
- ResetUIntMap(&device->InstrumentMap);
-
if(device->FontsoundMap.size > 0)
{
WARN("(%p) Deleting %d Fontsound(s)\n", device, device->FontsoundMap.size);
@@ -2932,7 +2922,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
InitUIntMap(&device->FilterMap, ~0);
InitUIntMap(&device->SfontMap, ~0);
InitUIntMap(&device->PresetMap, ~0);
- InitUIntMap(&device->InstrumentMap, ~0);
InitUIntMap(&device->FontsoundMap, ~0);
//Set output format
@@ -3220,7 +3209,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice(const ALCchar *deviceName,
InitUIntMap(&device->FilterMap, ~0);
InitUIntMap(&device->SfontMap, ~0);
InitUIntMap(&device->PresetMap, ~0);
- InitUIntMap(&device->InstrumentMap, ~0);
InitUIntMap(&device->FontsoundMap, ~0);
device->DeviceName = NULL;
@@ -3401,7 +3389,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(const ALCchar *deviceN
InitUIntMap(&device->FilterMap, ~0);
InitUIntMap(&device->SfontMap, ~0);
InitUIntMap(&device->PresetMap, ~0);
- InitUIntMap(&device->InstrumentMap, ~0);
InitUIntMap(&device->FontsoundMap, ~0);
factory = ALCloopbackFactory_getFactory();