diff options
author | Torbjörn Andersson | 2010-07-27 17:18:02 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-07-27 17:18:02 +0000 |
commit | bbd3f0dbb3f76417237882ae8dfe5acfab73b50b (patch) | |
tree | 1a6f40ab0789c479b4a8aaeb17af5e9955f79af1 /engines/draci | |
parent | 7424d39a980848e9c6783aae039aae28a4fa2b5a (diff) | |
download | scummvm-rg350-bbd3f0dbb3f76417237882ae8dfe5acfab73b50b.tar.gz scummvm-rg350-bbd3f0dbb3f76417237882ae8dfe5acfab73b50b.tar.bz2 scummvm-rg350-bbd3f0dbb3f76417237882ae8dfe5acfab73b50b.zip |
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
Diffstat (limited to 'engines/draci')
0 files changed, 0 insertions, 0 deletions