diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index 6a1a8e88ae1..a3f4b149d12 100644 --- a/backends/midi/alsa.cpp +++ b/backends/midi/alsa.cpp @@ -290,7 +290,7 @@ MusicDevices AlsaMusicPlugin::getDevices() const { MusicDevices devices; snd_seq_t *seq; - if (snd_seq_open(&seq, "default", SND_SEQ_OPEN_DUPLEX, 0) < 0) + if (my_snd_seq_open(&seq) < 0) return devices; // can't open sequencer snd_seq_client_info_t *cinfo;