aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-19 00:37:56 -0800
committerChris Robinson <[email protected]>2013-12-19 00:37:56 -0800
commit666acb314b55ca1cd73579bcb5dcbf1d5c289446 (patch)
tree77b2699497317d1655f2397dcb038501a8a52057
parent4288d3cd0164ce800edbec9436ae1d279f7665ef (diff)
Rename some ALsoundfont fields
-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;