diff options
-rw-r--r-- | src/libs/engine/Engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/Engine.cpp b/src/libs/engine/Engine.cpp index 1af94931..95bf554f 100644 --- a/src/libs/engine/Engine.cpp +++ b/src/libs/engine/Engine.cpp @@ -150,7 +150,7 @@ Engine::activate(SharedPtr<AudioDriver> ad, SharedPtr<EventSource> es) #ifdef HAVE_JACK_MIDI m_midi_driver = new JackMidiDriver(((JackAudioDriver*)m_audio_driver.get())->jack_client()); #elif HAVE_ALSA_MIDI - m_midi_driver = new AlsaMidiDriver(m_audio_driver); + m_midi_driver = new AlsaMidiDriver(m_audio_driver.get()); #else m_midi_driver = new DummyMidiDriver(); #endif |