Skip to content

Commit

Permalink
- fix compiler error with Alsa enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Jan 3, 2020
1 parent 8898448 commit fabf3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/zmusic/zmusic/configuration.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit fabf3d8

Please sign in to comment.