aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/midi/base.c10
-rw-r--r--OpenAL32/Include/alMidi.h4
2 files changed, 7 insertions, 7 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;
}
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index db6bc730..c2ddd728 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -106,8 +106,8 @@ typedef struct ALsoundfont {
ALsfpreset **Presets;
ALsizei NumPresets;
- ALshort *SampleData;
- ALint SampleDataLen;
+ ALshort *Samples;
+ ALint NumSamples;
ALuint id;
} ALsoundfont;