mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
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
This commit is contained in:
parent
efbac08e6b
commit
75dd75a737
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user