[Scummvm-cvs-logs] SF.net SVN: scummvm:[51014] scummvm/trunk/backends/midi/alsa.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Mon Jul 19 07:30:40 CEST 2010
Revision: 51014
http://scummvm.svn.sourceforge.net/scummvm/?rev=51014&view=rev
Author: eriktorbjorn
Date: 2010-07-19 05:30:40 +0000 (Mon, 19 Jul 2010)
Log Message:
-----------
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...
Modified Paths:
--------------
scummvm/trunk/backends/midi/alsa.cpp
Modified: scummvm/trunk/backends/midi/alsa.cpp
===================================================================
--- scummvm/trunk/backends/midi/alsa.cpp 2010-07-19 02:36:43 UTC (rev 51013)
+++ scummvm/trunk/backends/midi/alsa.cpp 2010-07-19 05:30:40 UTC (rev 51014)
@@ -290,7 +290,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list