diff options
author | Chris Robinson <[email protected]> | 2014-03-23 18:34:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-23 18:34:49 -0700 |
commit | 03fd2b826658bae6bd975957c4af26ae42481756 (patch) | |
tree | 38d2ab64d2f1432bdce8a979011ede5399dbf025 /OpenAL32 | |
parent | de5c54db0977c5a85aaf60bb53bd800bd76560b5 (diff) |
Remove setState from the MidiSynth vtable
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alMidi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c index 47ad8355..6313523e 100644 --- a/OpenAL32/alMidi.c +++ b/OpenAL32/alMidi.c @@ -135,7 +135,7 @@ AL_API void AL_APIENTRY alMidiPlaySOFT(void) synth = context->Device->Synth; WriteLock(&synth->Lock); - V(synth,setState)(AL_PLAYING); + MidiSynth_setState(synth, AL_PLAYING); WriteUnlock(&synth->Lock); ALCcontext_DecRef(context); @@ -151,7 +151,7 @@ AL_API void AL_APIENTRY alMidiPauseSOFT(void) synth = context->Device->Synth; WriteLock(&synth->Lock); - V(synth,setState)(AL_PAUSED); + MidiSynth_setState(synth, AL_PAUSED); WriteUnlock(&synth->Lock); ALCcontext_DecRef(context); @@ -170,7 +170,7 @@ AL_API void AL_APIENTRY alMidiStopSOFT(void) synth = device->Synth; WriteLock(&synth->Lock); - V(synth,setState)(AL_STOPPED); + MidiSynth_setState(synth, AL_STOPPED); ALCdevice_Lock(device); V0(synth,stop)(); @@ -193,7 +193,7 @@ AL_API void AL_APIENTRY alMidiResetSOFT(void) synth = device->Synth; WriteLock(&synth->Lock); - V(synth,setState)(AL_INITIAL); + MidiSynth_setState(synth, AL_INITIAL); ALCdevice_Lock(device); V0(synth,reset)(); |