mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-01 23:31:16 +00:00
- add EnumerateDevices for alsa per suggestion of the original author
This commit is contained in:
parent
fabf3d8ca4
commit
3e4d53e8b6
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ struct MidiDeviceList
|
||||||
#ifdef HAVE_SYSTEM_MIDI
|
#ifdef HAVE_SYSTEM_MIDI
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
auto& sequencer = AlsaSequencer::Get();
|
auto& sequencer = AlsaSequencer::Get();
|
||||||
|
sequencer.EnumerateDevices();
|
||||||
auto& dev = sequencer.GetInternalDevices();
|
auto& dev = sequencer.GetInternalDevices();
|
||||||
for (auto& d : dev)
|
for (auto& d : dev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue