aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
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 /Alc/midi/base.c
parent3ff33e2f79a7b251ca7709704e995385c792e799 (diff)
Move some preset alloc/dealloc code to separate functions
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index b726f47b..599dc6dc 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -416,34 +416,6 @@ ALenum ALfontsound_addModulator(ALfontsound *self, ALenum sourceop, ALenum desto
}
-void ALsfpreset_Construct(ALsfpreset *self)
-{
- self->ref = 0;
-
- self->Preset = 0;
- self->Bank = 0;
-
- self->Sounds = NULL;
- self->NumSounds = 0;
-
- self->id = 0;
-}
-
-void ALsfpreset_Destruct(ALsfpreset *self)
-{
- ALsizei i;
-
- FreeThunkEntry(self->id);
- self->id = 0;
-
- for(i = 0;i < self->NumSounds;i++)
- DecrementRef(&self->Sounds[i]->ref);
- free(self->Sounds);
- self->Sounds = NULL;
- self->NumSounds = 0;
-}
-
-
void ALsoundfont_Construct(ALsoundfont *self)
{
self->ref = 0;