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

Willem Jan Palenstijn wjp at usecode.org
Thu Sep 16 14:30:22 CEST 2010


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