mirror of
https://github.com/godotengine/godot.git
synced 2025-02-13 14:20:45 +00:00
Alsa MIDI input thread gets properly reinitialized on open.
This commit is contained in:
parent
269eb5f06c
commit
af95554aff
@ -128,6 +128,7 @@ Error MIDIDriverALSAMidi::open() {
|
||||
snd_device_name_free_hint(hints);
|
||||
|
||||
mutex = Mutex::create();
|
||||
exit_thread = false;
|
||||
thread = Thread::create(MIDIDriverALSAMidi::thread_func, this);
|
||||
|
||||
return OK;
|
||||
|
Loading…
Reference in New Issue
Block a user