diff options
Diffstat (limited to 'Alc/midi')
-rw-r--r-- | Alc/midi/base.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c index 20d7a27c..46d4bd76 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -426,8 +426,8 @@ void ALsoundfont_Construct(ALsoundfont *self) self->Presets = NULL; self->NumPresets = 0; - self->SampleData = NULL; - self->SampleDataLen = 0; + self->Samples = NULL; + self->NumSamples = 0; self->id = 0; } @@ -447,7 +447,7 @@ void ALsoundfont_Destruct(ALsoundfont *self) self->Presets = NULL; self->NumPresets = 0; - free(self->SampleData); - self->SampleData = NULL; - self->SampleDataLen = 0; + free(self->Samples); + self->Samples = NULL; + self->NumSamples = 0; } |