diff options
author | Chris Robinson <[email protected]> | 2013-12-19 04:19:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-19 04:19:03 -0800 |
commit | 1bd828603e266db7b08a3ca5670e7cd2575357a4 (patch) | |
tree | ff2a51d273860211f513bb1a79a4b836d52e4316 /Alc | |
parent | 03a6bf22a52a4b1216f33dd2d9bddaa9f79e6a01 (diff) |
Add functions to set a soundfont's sample data
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 3 | ||||
-rw-r--r-- | Alc/midi/base.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -284,6 +284,9 @@ static const ALCfunction alcFunctions[] = { DECL(alGenSoundfontsSOFT), DECL(alDeleteSoundfontsSOFT), DECL(alIsSoundfontSOFT), + DECL(alSoundfontSamplesSOFT), + DECL(alSoundfontMapSamplesSOFT), + DECL(alSoundfontUnmapSamplesSOFT), DECL(alGenPresetsSOFT), DECL(alDeletePresetsSOFT), DECL(alIsPresetSOFT), 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; } |