diff options
author | Chris Robinson <[email protected]> | 2014-06-30 00:10:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-06-30 00:10:40 -0700 |
commit | 22982948cf951924c206b37e80c31532b75c5410 (patch) | |
tree | e3f9738d0bb1fd749e4d71d03360ccdd1eb8db28 /OpenAL32/Include/alMidi.h | |
parent | 8f8898b7b0a5c0b1d6aa855b205b433b778e46a1 (diff) |
Standardize some New/Delete methods
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r-- | OpenAL32/Include/alMidi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index 03aa8253..76567db0 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -92,11 +92,11 @@ typedef struct ALfontsound { ALuint id; } ALfontsound; -void ALfontsound_Destruct(ALfontsound *self); void ALfontsound_setPropi(ALfontsound *self, ALCcontext *context, ALenum param, ALint value); void ALfontsound_setModStagei(ALfontsound *self, ALCcontext *context, ALsizei stage, ALenum param, ALint value); ALfontsound *NewFontsound(ALCcontext *context); +void DeleteFontsound(ALCdevice *device, ALfontsound *sound); inline struct ALfontsound *LookupFontsound(ALCdevice *device, ALuint id) { return (struct ALfontsound*)LookupUIntMapKey(&device->FontsoundMap, id); } @@ -124,7 +124,7 @@ typedef struct ALsfpreset { } ALsfpreset; ALsfpreset *NewPreset(ALCcontext *context); -void DeletePreset(ALsfpreset *preset, ALCdevice *device); +void DeletePreset(ALCdevice *device, ALsfpreset *preset); inline struct ALsfpreset *LookupPreset(ALCdevice *device, ALuint id) { return (struct ALsfpreset*)LookupUIntMapKey(&device->PresetMap, id); } |