aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_bargon.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-07-27 17:18:02 +0000
committerTorbjörn Andersson2010-07-27 17:18:02 +0000
commitbbd3f0dbb3f76417237882ae8dfe5acfab73b50b (patch)
tree1a6f40ab0789c479b4a8aaeb17af5e9955f79af1 /engines/gob/inter_bargon.cpp
parent7424d39a980848e9c6783aae039aae28a4fa2b5a (diff)
downloadscummvm-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/gob/inter_bargon.cpp')
0 files changed, 0 insertions, 0 deletions