diff options
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r-- | OpenAL32/Include/alMidi.h | 64 |
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; |