From f67b217415d02326eeeffb8c4e9d97a6e99c90ab Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 2 Jan 2020 20:21:10 -0500 Subject: [PATCH] - fix compiler error with Alsa enumeration --- libraries/zmusic/zmusic/configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/zmusic/zmusic/configuration.cpp b/libraries/zmusic/zmusic/configuration.cpp index cc93dd5ec..27f60c87b 100644 --- a/libraries/zmusic/zmusic/configuration.cpp +++ b/libraries/zmusic/zmusic/configuration.cpp @@ -183,7 +183,7 @@ struct MidiDeviceList #ifdef HAVE_SYSTEM_MIDI #ifdef __linux__ auto& sequencer = AlsaSequencer::Get(); - auto& dev = sequencer.GetDevices(); + auto& dev = sequencer.GetInternalDevices(); for (auto& d : dev) { MidiOutDevice mdev = { strdup(d.Name.c_str()), d.ID, MIDIDEV_MAPPER }; // fixme: Correctly determine the type of the device.