scummvm/backends/midi
Torbjörn Andersson bbd3f0dbb3 ALSA: Be more intelligent when picking MIDI port
Often, a client has more than one available port. Pick the first one
that isn't already in use. For instance, on my computer client 17 is
the "Emu10k1 WaveTable", and it has four available ports. If, say,
aplaymidi is already playing on port 17:0, ScummVM will use port 17:1
instead. Otherwise the two programs will mess up each others
instruments and controller settings.

Of course, in reality I doubt that anyone will run two different MIDI
playing applications at once.

svn-id: r51380
2010-07-27 17:18:02 +00:00
..
alsa.cpp ALSA: Be more intelligent when picking MIDI port 2010-07-27 17:18:02 +00:00
camd.cpp Patch #1956501: "GUI/LAUNCHER: Midi device selection" 2010-06-21 21:36:36 +00:00
coreaudio.cpp Patch #1956501: "GUI/LAUNCHER: Midi device selection" 2010-06-21 21:36:36 +00:00
coremidi.cpp Patch #1956501: "GUI/LAUNCHER: Midi device selection" 2010-06-21 21:36:36 +00:00
dmedia.cpp Patch #1956501: "GUI/LAUNCHER: Midi device selection" 2010-06-21 21:36:36 +00:00
seq.cpp General: Fixed building the SEQ MIDI driver 2010-07-20 08:56:53 +00:00
stmidi.cpp Patch #1956501: "GUI/LAUNCHER: Midi device selection" 2010-06-21 21:36:36 +00:00
timidity.cpp Patch #1956501: "GUI/LAUNCHER: Midi device selection" 2010-06-21 21:36:36 +00:00
windows.cpp Define WIN32_LEAN_AND_MEAN before including windows.h. 2010-06-26 21:55:52 +00:00