[Scummvm-devel] SCUMM GM/MT32 Preference

Florian Kagerer f.kagerer at kabelmail.de
Sun Jul 4 15:06:27 CEST 2010


If you set both "Preferred device" and "MT32 Device" to default
MidiDriver::detectDevice() will fall back to the first available device
with music type MT_MT32, which will be the Emulator in eriktorbjorn's case.

The only good way out of this seems to be changing the MDT_PREFER_MT32 flags
To MDT_PREFER_GM, since most people seem to have some kind of GM device, but not a MT-32
(and the emulator is not really enjoyable atm).


I don't really understand the second problem atm. But this is probably something that needs
fixing in gui/options.cpp. I'll try to do that if no one beats me to it.


Florian

-----Ursprüngliche Nachricht-----
Von: Johannes Schickel [mailto:lordhoto at scummvm.org] 
Gesendet: Sonntag, 4. Juli 2010 14:30
An: scummvm-devel at lists.sourceforge.net
Betreff: Re: [Scummvm-devel] SCUMM GM/MT32 Preference

On 07/04/2010 09:19 AM, Torbjörn Andersson wrote:
> On 2010-06-28 02:56, Travis Howell wrote:
>
>    
>> This change should have happened long ago, these games were designed for
>> MIDI, so MIDI really should be the default.
>>      
> Even if a game engine says "I prefer MT-32", should it actually get it
> unless the "True Roland MT-32 (disable GM emulation)" option is set?
>    

Actually from how I understand the code you should always get what you 
setup as "Preferred device".

In case you have "default" as "Preferred device", it should select the 
MT32 Device if MDT_PREFER_MT32 is set, EXCEPT you have setup the MT32 
Device as "default", which marks it as non-present currently (when I 
understand the code right at least).

I noticed some other strange bits though: When I overwrite the subtitles 
speed in a game, just take KYRA with its built in menu, I correctly get 
"Override global audio settings" displayed in the "Edit Game..." dialog. 
Now all devices do not default to the "system default" but to "default" 
(note that a "default" here does not use the settings setup in the 
"Options" menu), thus if I click "OK" in that dialog, it will just 
overwrite my audio device settings and thus I will(/might) get different 
audio output. That's rather annoying behavior in my opinion :-/.

// Johannes

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Scummvm-devel mailing list
Scummvm-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scummvm-devel






More information about the Scummvm-devel mailing list