From 666acb314b55ca1cd73579bcb5dcbf1d5c289446 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 19 Dec 2013 00:37:56 -0800 Subject: Rename some ALsoundfont fields --- Alc/midi/base.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Alc/midi') 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; } -- cgit v1.2.3