From 75dd75a73767319b2797a140f985dfc356462862 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 19 Jul 2010 05:30:40 +0000 Subject: SUBSYSTEM: ALSA music driver We should probably open the sequencer the exact same way, both when opening the driver and when asking it for available MIDI devices. Not that I've been able to figure out the difference between "hw" and "default" from the fine ALSA manual... And I'm not sure we really need to try and keep compatibility with ancient (pre-0.9.0?) ALSA any longer... svn-id: r51014 --- backends/midi/alsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/midi/alsa.cpp') diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index 6a1a8e88ae..a3f4b149d1 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; -- cgit v1.2.3