[Scummvm-devel] mt-32 emu by default?

Florian Kagerer athrxx at scummvm.org
Sun Oct 24 21:31:32 CEST 2010


Okay, I have made some changes here (see commit log).
Users now should get Midi output only if they select a device
(and no longer get the MT-32 emulator as default unless they
select the new option "Use first available device").


Florian

-----Ursprüngliche Nachricht-----
Von: Willem Jan Palenstijn [mailto:wjp at usecode.org] 
Gesendet: Donnerstag, 16. September 2010 14:30
An: athrxx
Cc: 'ScummVM devel'
Betreff: Re: [Scummvm-devel] mt-32 emu by default?

On Wed, Sep 15, 2010 at 06:01:30PM +0200, athrxx wrote:
> A quick approach to solve the issue with those default midi devices  could
> be to drop the "<default>" options from the midi and mt-32 launcher tabs
and
> replace them with "<no gm music>" / "<no mt-32 music>". Currently
> detectMidiDevice() will always try to return some gm or mt-32 device if
the
> engine requests this via MDT_PREFER_xx flags and the launcher settings for
> those devices are set to <default>. Instead, we could skip gm and/or mt-32
> detection unless the user has indicated (by expressly selecting devices in
> the main options tabs) that he has such devices which he also wants to
use.
> 
> With this approach users without (good) midi devices would get Adlib sound
> without having to change any settings and PC users would have to select
> their midi devices once, but would not be required to reconfigure every
> single target (which would be the case if you just drop the MDT_PREFER_xx
> flags from the engines).

This sounds good to me as a long-term solution. We'd have to remember to
make the <default>/<no * music> options the actual defaults, though. (Since
I
think they aren't now.)


Unless anyone has a better short-term solution, I'll remove the
PREFER_MT32/PREFER_GM flags from 1.2 after branching.

-Willem Jan





More information about the Scummvm-devel mailing list