aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
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 /OpenAL32/Include
parentb650ecbc23222ebd295384fce45aaca8cfb5c368 (diff)
Remove the zone, sample, and instrument object types
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h10
-rw-r--r--OpenAL32/Include/alMidi.h64
2 files changed, 0 insertions, 74 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index aafe6c90..2718b6c0 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -57,9 +57,6 @@ typedef ALboolean (AL_APIENTRY*LPALISPRESETSOFT)(ALuint id);
typedef void (AL_APIENTRY*LPALPRESETISOFT)(ALuint id, ALenum param, ALint value);
typedef void (AL_APIENTRY*LPALPRESETIVSOFT)(ALuint id, ALenum param, const ALint *values);
typedef void (AL_APIENTRY*LPALGETPRESETIVSOFT)(ALuint id, ALenum param, ALint *values);
-typedef void (AL_APIENTRY*LPALGENINSTRUMENTSSOFT)(ALsizei n, ALuint *ids);
-typedef void (AL_APIENTRY*LPALDELETEINSTRUMENTSSOFT)(ALsizei n, const ALuint *ids);
-typedef ALboolean (AL_APIENTRY*LPALISINSTRUMENTSOFT)(ALuint id);
typedef void (AL_APIENTRY*LPALGENFONTSOUNDSSOFT)(ALsizei n, ALuint *ids);
typedef void (AL_APIENTRY*LPALDELETEFONTSOUNDSSOFT)(ALsizei n, const ALuint *ids);
typedef ALboolean (AL_APIENTRY*LPALISFONTSOUNDSOFT)(ALuint id);
@@ -90,10 +87,6 @@ AL_API void AL_APIENTRY alPresetiSOFT(ALuint id, ALenum param, ALint value);
AL_API void AL_APIENTRY alPresetivSOFT(ALuint id, ALenum param, const ALint *values);
AL_API void AL_APIENTRY alGetPresetivSOFT(ALuint id, ALenum param, ALint *values);
-AL_API void AL_APIENTRY alGenInstrumentsSOFT(ALsizei n, ALuint *ids);
-AL_API void AL_APIENTRY alDeleteInstrumentsSOFT(ALsizei n, const ALuint *ids);
-AL_API ALboolean AL_APIENTRY alIsInstrumentSOFT(ALuint id);
-
AL_API void AL_APIENTRY alGenFontsoundsSOFT(ALsizei n, ALuint *ids);
AL_API void AL_APIENTRY alDeleteFontsoundsSOFT(ALsizei n, const ALuint *ids);
AL_API ALboolean AL_APIENTRY alIsFontsoundSOFT(ALuint id);
@@ -477,9 +470,6 @@ struct ALCdevice_struct
// Map of Presets for this device
UIntMap PresetMap;
- // Map of Instruments for this device
- UIntMap InstrumentMap;
-
// Map of Fontsounds for this device
UIntMap FontsoundMap;
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index 9b195d26..38042693 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -21,68 +21,6 @@ typedef struct ALsfmodulator {
ALenum TransformOp;
} ALsfmodulator;
-typedef struct ALsfzone {
- ALsfgenerator *Generators;
- ALsizei NumGenerators;
- ALsizei GeneratorsMax;
-
- ALsfmodulator *Modulators;
- ALsizei NumModulators;
- ALsizei ModulatorsMax;
-
- /* NOTE: Preset zones may have a reference to an ALsfinstrument. Instrument
- * zones may have a reference to an ALsfsample. */
- ALvoid *Object;
-} ALsfzone;
-
-void ALsfzone_Construct(ALsfzone *self);
-void ALsfzone_Destruct(ALsfzone *self);
-ALenum ALsfzone_addGenerator(ALsfzone *self, ALenum generator, ALint value);
-ALenum ALsfzone_addModulator(ALsfzone *self, ALenum sourceop, ALenum destop, ALint amount, ALenum amtsourceop, ALenum transop);
-/* Stores a new object pointer in the zone. Returns the old object pointer. */
-ALvoid *ALsfzone_setRefObject(ALsfzone *self, ALvoid *object);
-
-
-typedef struct ALsfsample {
- volatile RefCount ref;
-
- ALuint Start;
- ALuint End;
- ALuint LoopStart;
- ALuint LoopEnd;
- ALuint SampleRate;
- ALubyte PitchKey;
- ALbyte PitchCorrection;
- ALushort SampleLink;
- ALenum SampleType;
-
- ALuint id;
-} ALsfsample;
-
-void ALsfsample_Construct(ALsfsample *self);
-void ALsfsample_Destruct(ALsfsample *self);
-
-
-typedef struct ALsfinstrument {
- volatile RefCount ref;
-
- ALsfzone *Zones;
- ALsizei NumZones;
-
- ALuint id;
-} ALsfinstrument;
-
-void ALsfinstrument_Construct(ALsfinstrument *self);
-void ALsfinstrument_Destruct(ALsfinstrument *self);
-
-
-inline struct ALsfinstrument *LookupInstrument(ALCdevice *device, ALuint id)
-{ return (struct ALsfinstrument*)LookupUIntMapKey(&device->InstrumentMap, id); }
-inline struct ALsfinstrument *RemoveInstrument(ALCdevice *device, ALuint id)
-{ return (struct ALsfinstrument*)RemoveUIntMapKey(&device->InstrumentMap, id); }
-
-void ReleaseALInstruments(ALCdevice *device);
-
typedef struct ALfontsound {
volatile RefCount ref;
@@ -131,8 +69,6 @@ typedef struct ALsfpreset {
ALint Preset; /* a.k.a. MIDI program number */
ALint Bank; /* MIDI bank 0...127, or percussion (bank 128) */
- ALsfzone *Zones;
- ALsizei NumZones;
ALuint id;
} ALsfpreset;