summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-02 10:39:21 -0800
committerChris Robinson <[email protected]>2014-01-02 10:39:21 -0800
commit01f547b93e8ce7e1ad774fee73c81777a034028e (patch)
tree58435de17187bb81d2a7498458e5c5850d10dd18 /OpenAL32/Include
parent3ff33e2f79a7b251ca7709704e995385c792e799 (diff)
Move some preset alloc/dealloc code to separate functions
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMidi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index c31992b3..8037cff8 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -122,9 +122,8 @@ typedef struct ALsfpreset {
ALuint id;
} ALsfpreset;
-void ALsfpreset_Construct(ALsfpreset *self);
-void ALsfpreset_Destruct(ALsfpreset *self);
-
+ALsfpreset *NewPreset(ALCcontext *context);
+void DeletePreset(ALsfpreset *preset, ALCdevice *device);
inline struct ALsfpreset *LookupPreset(ALCdevice *device, ALuint id)
{ return (struct ALsfpreset*)LookupUIntMapKey(&device->PresetMap, id); }