aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-19 04:19:03 -0800
committerChris Robinson <[email protected]>2013-12-19 04:19:03 -0800
commit1bd828603e266db7b08a3ca5670e7cd2575357a4 (patch)
treeff2a51d273860211f513bb1a79a4b836d52e4316 /Alc/midi
parent03a6bf22a52a4b1216f33dd2d9bddaa9f79e6a01 (diff)
Add functions to set a soundfont's sample data
Diffstat (limited to 'Alc/midi')
-rw-r--r--Alc/midi/base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 46d4bd76..f39aaba3 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -429,6 +429,8 @@ void ALsoundfont_Construct(ALsoundfont *self)
self->Samples = NULL;
self->NumSamples = 0;
+ self->Mapped = AL_FALSE;
+
self->id = 0;
}