- fix compiler error with Alsa enumeration

This commit is contained in:
Rachael Alexanderson 2020-01-02 20:21:10 -05:00
parent 8898448014
commit fabf3d8ca4
1 changed files with 1 additions and 1 deletions

View File

@ -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.