aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMidi.h
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/alMidi.h
parentb650ecbc23222ebd295384fce45aaca8cfb5c368 (diff)
Remove the zone, sample, and instrument object types
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r--OpenAL32/Include/alMidi.h64
1 files changed, 0 insertions, 64 deletions
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;