diff options
author | Torbjörn Andersson | 2010-07-19 07:47:11 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-07-19 07:47:11 +0000 |
commit | abae29a2dccfc132505687e70c220beb2f56defe (patch) | |
tree | acbca7b1b7e4d28791209ee3834c103865412d98 /engines/sci/engine/vm.cpp | |
parent | 9cb23c8a7bcda26196e78af3e28da67db6b987ea (diff) | |
download | scummvm-rg350-abae29a2dccfc132505687e70c220beb2f56defe.tar.gz scummvm-rg350-abae29a2dccfc132505687e70c220beb2f56defe.tar.bz2 scummvm-rg350-abae29a2dccfc132505687e70c220beb2f56defe.zip |
ALSA: Get ALSA port settings from the new device config settings.
This is also an attempt to make the transition from the old settings to the
new ones a little less rough, by trying to put something sensible into the
first device, which is what's used by default. Currently it prefers 17:x
and 65:x since they're the old defaults, followed by 128:x since that's
probably TiMidity.
The old SCUMMVM_PORT environment variable still overrides any config
settings. I haven't made up my mind whether or not that's a good idea, but
at least it prints a warning message.
TODO: The old 'alsa_port' setting is not handled. It should probably be
used to set sensible defaults for the new settings, but I'm not sure where
this should be done.
TODO: The documentation will need to be updated, once everything is working
the way it should.
svn-id: r51019
Diffstat (limited to 'engines/sci/engine/vm.cpp')
0 files changed, 0 insertions, 0 deletions