- add EnumerateDevices for alsa per suggestion of the original author

This commit is contained in:
Rachael Alexanderson 2020-01-03 10:34:53 -05:00
parent fabf3d8ca4
commit 3e4d53e8b6
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ struct MidiDeviceList
#ifdef HAVE_SYSTEM_MIDI
#ifdef __linux__
auto& sequencer = AlsaSequencer::Get();
sequencer.EnumerateDevices();
auto& dev = sequencer.GetInternalDevices();
for (auto& d : dev)
{