[Summary] Changed midi stop order related to audio
This commit is contained in:
@@ -785,6 +785,8 @@ WavesAudioBackend::stop ()
|
||||
|
||||
// COMMENTED DBG LOGS */ std::cout << "\t[" << _device->DeviceName () << "]" << std::endl;
|
||||
|
||||
_midi_device_manager.stop ();
|
||||
|
||||
if (_device) {
|
||||
wtErr = _device->SetStreaming (false);
|
||||
if (wtErr != eNoErr) {
|
||||
@@ -793,8 +795,6 @@ WavesAudioBackend::stop ()
|
||||
}
|
||||
}
|
||||
|
||||
_midi_device_manager.stop ();
|
||||
|
||||
_unregister_system_audio_ports ();
|
||||
_unregister_system_midi_ports ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user