mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 07:30:56 +00:00
AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
This commit is contained in:
parent
683d54a746
commit
c35e350531
@ -557,7 +557,7 @@ Common::Error AGOSEngine::init() {
|
||||
(getPlatform() == Common::kPlatformPC)) {
|
||||
|
||||
// Setup midi driver
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | (getGameType() == GType_SIMON1 ? MDT_PREFER_MT32 : MDT_PREFER_GM));
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_ADLIB | MDT_MIDI | (getGameType() == GType_SIMON1 ? MDT_PREFER_MT32 : MDT_PREFER_GM));
|
||||
_nativeMT32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
|
||||
_driver = MidiDriver::createMidi(dev);
|
||||
|
@ -127,7 +127,7 @@ int DraciEngine::init() {
|
||||
_dubbingArchive = new SoundArchive(dubbingPath, kDubbingFrequency);
|
||||
_sound = new Sound(_mixer);
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
bool native_mt32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
//bool adlib = (MidiDriver::getMusicType(dev) == MT_ADLIB);
|
||||
|
||||
|
@ -386,7 +386,7 @@ MusicPlayerXMI::MusicPlayerXMI(GroovieEngine *vm, const Common::String >lName)
|
||||
_midiParser = MidiParser::createParser_XMIDI();
|
||||
|
||||
// Create the driver
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
_driver = createMidi(dev);
|
||||
this->open();
|
||||
|
||||
@ -682,7 +682,7 @@ MusicPlayerMac::MusicPlayerMac(GroovieEngine *vm) : MusicPlayerMidi(vm) {
|
||||
_midiParser = MidiParser::createParser_SMF();
|
||||
|
||||
// Create the driver
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
_driver = createMidi(dev);
|
||||
this->open();
|
||||
|
||||
|
@ -86,7 +86,7 @@ Script::Script(GroovieEngine *vm, EngineVersion version) :
|
||||
}
|
||||
|
||||
// Initialize the music type variable
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
if (MidiDriver::getMusicType(dev) == MT_ADLIB) {
|
||||
// MIDI through AdLib
|
||||
setVariable(0x100, 0);
|
||||
|
@ -106,7 +106,7 @@ Common::Error KyraEngine_v1::init() {
|
||||
|
||||
if (!_flags.useDigSound) {
|
||||
// We prefer AdLib over MIDI, since generally AdLib is better supported
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_PCSPK | MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI | MDT_PREFER_MT32);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_PCSPK | MDT_MIDI | MDT_ADLIB | MDT_PREFER_MT32);
|
||||
|
||||
if (_flags.platform == Common::kPlatformFMTowns) {
|
||||
if (_flags.gameID == GI_KYRA1)
|
||||
|
@ -50,7 +50,7 @@ SoundManager::SoundManager() {
|
||||
_soundData = NULL;
|
||||
_paused = false;
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MT32);
|
||||
_isRoland = MidiDriver::getMusicType(dev) != MT_ADLIB;
|
||||
_nativeMT32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
|
||||
|
@ -156,7 +156,7 @@ Common::Error MadsM4Engine::run() {
|
||||
// Initialize backend
|
||||
_screen = new M4Surface(true); // Special form for creating screen reference
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
bool native_mt32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
|
||||
_driver = MidiDriver::createMidi(dev);
|
||||
|
@ -97,7 +97,7 @@ MadeEngine::MadeEngine(OSystem *syst, const MadeGameDescription *gameDesc) : Eng
|
||||
|
||||
_script = new ScriptInterpreter(this);
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
bool native_mt32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
//bool adlib = (MidiDriver::getMusicType(dev) == MT_ADLIB);
|
||||
|
||||
|
@ -61,7 +61,7 @@ Common::Error Parallaction_br::init() {
|
||||
_disk = new DosDisk_br(this);
|
||||
}
|
||||
_disk->setLanguage(2); // NOTE: language is now hardcoded to English. Original used command-line parameters.
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
MidiDriver *driver = MidiDriver::createMidi(dev);
|
||||
_soundManI = new DosSoundMan_br(this, driver);
|
||||
} else {
|
||||
|
@ -166,7 +166,7 @@ Common::Error Parallaction_ns::init() {
|
||||
_disk->init();
|
||||
|
||||
if (getPlatform() == Common::kPlatformPC) {
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
MidiDriver *driver = MidiDriver::createMidi(dev);
|
||||
_soundManI = new DosSoundMan_ns(this, driver);
|
||||
_soundManI->setMusicVolume(ConfMan.getInt("music_volume"));
|
||||
|
@ -46,7 +46,7 @@ MidiMusic::MidiMusic(QueenEngine *vm)
|
||||
_queuePos = _lastSong = _currentSong = 0;
|
||||
queueClear();
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI | MDT_PREFER_MT32);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MT32);
|
||||
_adlib = (MidiDriver::getMusicType(dev) == MT_ADLIB);
|
||||
_nativeMT32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
|
||||
|
@ -47,7 +47,7 @@ MusicDriver::MusicDriver() : _isGM(false) {
|
||||
_masterVolume = 0;
|
||||
_nativeMT32 = ConfMan.getBool("native_mt32");
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
_driver = MidiDriver::createMidi(dev);
|
||||
if (isMT32())
|
||||
_driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);
|
||||
|
@ -386,6 +386,12 @@ ExecStack *send_selector(EngineState *s, reg_t send_obj, reg_t work_obj, StackPt
|
||||
// Returns a pointer to the TOS exec_stack element
|
||||
assert(s);
|
||||
|
||||
//if (send_obj.segment == 27 && send_obj.offset == 190 && s->resmgr->_protectionCountSpec > 20) {
|
||||
//if (s->resmgr->_protectionCountSpec == 21)
|
||||
// s->resmgr->_protectionCountSpec--;
|
||||
//send_obj.offset = 1388;
|
||||
//}
|
||||
|
||||
reg_t funcp;
|
||||
int selector;
|
||||
int argc;
|
||||
|
@ -68,7 +68,7 @@ void SciMusic::init() {
|
||||
// We also don't yet support the 7.pat file of SCI1+ Mac games or SCI0 Mac patches, so we
|
||||
// default to MIDI in those games to let them run.
|
||||
Common::Platform platform = g_sci->getPlatform();
|
||||
uint32 dev = MidiDriver::detectDevice((getSciVersion() >= SCI_VERSION_2 || platform == Common::kPlatformMacintosh || (platform == Common::kPlatformAmiga && getSciVersion() >= SCI_VERSION_1_EGA)) ? (MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI) : (MDT_PCSPK | MDT_ADLIB | MDT_MIDI));
|
||||
uint32 dev = MidiDriver::detectDevice((getSciVersion() >= SCI_VERSION_2 || platform == Common::kPlatformMacintosh || (platform == Common::kPlatformAmiga && getSciVersion() >= SCI_VERSION_1_EGA)) ? (MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32) : (MDT_PCSPK | MDT_ADLIB | MDT_MIDI));
|
||||
|
||||
switch (MidiDriver::getMusicType(dev)) {
|
||||
case MT_ADLIB:
|
||||
|
@ -224,7 +224,7 @@ static const GameSettings gameVariantsTable[] = {
|
||||
{"indy3", "VGA", "vga", GID_INDY3, 3, 0, MDT_PCSPK | MDT_ADLIB, GF_OLD256 | GF_FEW_LOCALS, Common::kPlatformPC, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
{"indy3", "FM-TOWNS", 0, GID_INDY3, 3, 0, MDT_TOWNS, GF_OLD256 | GF_FEW_LOCALS | GF_AUDIOTRACKS, Common::kPlatformFMTowns, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
|
||||
{"loom", "EGA", "ega", GID_LOOM, 3, 0, MDT_PCSPK | MDT_CMS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
{"loom", "EGA", "ega", GID_LOOM, 3, 0, MDT_PCSPK | MDT_CMS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
{"loom", "No AdLib", "ega", GID_LOOM, 3, 0, MDT_PCSPK | MDT_CMS, 0, UNK, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
#ifdef USE_RGB_COLOR
|
||||
{"loom", "PC-Engine", 0, GID_LOOM, 3, 0, MDT_NONE, GF_AUDIOTRACKS | GF_OLD256 | GF_16BIT_COLOR, Common::kPlatformPCEngine, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
@ -234,24 +234,24 @@ static const GameSettings gameVariantsTable[] = {
|
||||
|
||||
{"pass", 0, 0, GID_PASS, 4, 0, MDT_PCSPK | MDT_ADLIB, GF_16COLOR, Common::kPlatformPC, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
|
||||
{"monkey", "VGA", "vga", GID_MONKEY_VGA, 4, 0, MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
{"monkey", "EGA", "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK | MDT_CMS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32, GF_16COLOR, Common::kPlatformPC, GUIO_NOSPEECH},
|
||||
{"monkey", "VGA", "vga", GID_MONKEY_VGA, 4, 0, MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
{"monkey", "EGA", "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK | MDT_CMS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, GF_16COLOR, Common::kPlatformPC, GUIO_NOSPEECH},
|
||||
{"monkey", "No AdLib", "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK, GF_16COLOR, Common::kPlatformAtariST, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
{"monkey", "Demo", "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK | MDT_ADLIB, GF_16COLOR, Common::kPlatformPC, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
{"monkey", "CD", 0, GID_MONKEY, 5, 0, MDT_ADLIB, GF_AUDIOTRACKS, UNK, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
{"monkey", "FM-TOWNS", 0, GID_MONKEY, 5, 0, MDT_ADLIB, GF_AUDIOTRACKS, Common::kPlatformFMTowns, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
{"monkey", "SEGA", 0, GID_MONKEY, 5, 0, MDT_NONE, GF_AUDIOTRACKS, Common::kPlatformSegaCD, GUIO_NOSPEECH | GUIO_NOMIDI},
|
||||
|
||||
{"monkey2", 0, 0, GID_MONKEY2, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
{"monkey2", 0, 0, GID_MONKEY2, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
|
||||
{"atlantis", "" , 0, GID_INDY4, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NONE},
|
||||
{"atlantis", "Floppy", 0, GID_INDY4, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
{"atlantis", "" , 0, GID_INDY4, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NONE},
|
||||
{"atlantis", "Floppy", 0, GID_INDY4, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
|
||||
|
||||
{"tentacle", "", 0, GID_TENTACLE, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NONE},
|
||||
{"tentacle", "Floppy", 0, GID_TENTACLE, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NOSPEECH},
|
||||
{"tentacle", "", 0, GID_TENTACLE, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NONE},
|
||||
{"tentacle", "Floppy", 0, GID_TENTACLE, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NOSPEECH},
|
||||
|
||||
{"samnmax", "", 0, GID_SAMNMAX, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NONE},
|
||||
{"samnmax", "Floppy", 0, GID_SAMNMAX, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NOSPEECH},
|
||||
{"samnmax", "", 0, GID_SAMNMAX, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NONE},
|
||||
{"samnmax", "Floppy", 0, GID_SAMNMAX, 6, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM, GF_USE_KEY, UNK, GUIO_NOSPEECH},
|
||||
|
||||
#ifdef ENABLE_SCUMM_7_8
|
||||
{"ft", 0, 0, GID_FT, 7, 0, MDT_NONE, 0, UNK, GUIO_NOMIDI},
|
||||
|
@ -259,7 +259,7 @@ Common::Error SkyEngine::init() {
|
||||
|
||||
_systemVars.gameVersion = _skyDisk->determineGameVersion();
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI | MDT_PREFER_MT32);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32);
|
||||
if (MidiDriver::getMusicType(dev) == MT_ADLIB) {
|
||||
_systemVars.systemFlags |= SF_SBLASTER;
|
||||
_skyMusic = new AdLibMusic(_mixer, _skyDisk);
|
||||
|
@ -856,7 +856,7 @@ TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc)
|
||||
if (cd_num >= 0)
|
||||
_system->openCD(cd_num);
|
||||
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
bool native_mt32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
//bool adlib = (MidiDriver::getMusicType(dev) == MT_ADLIB);
|
||||
|
||||
|
@ -92,7 +92,7 @@ void MidiPlayer::setVolume(int volume) {
|
||||
}
|
||||
|
||||
int MidiPlayer::open() {
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
|
||||
_nativeMT32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
|
||||
_driver = MidiDriver::createMidi(dev);
|
||||
int ret = _driver->open();
|
||||
|
@ -177,9 +177,9 @@ MidiDriver::DeviceHandle MidiDriver::detectDevice(int flags) {
|
||||
// If the selected driver did not match the flags setting,
|
||||
// we try to determine a suitable and "optimal" music driver.
|
||||
const MusicPlugin::List p = MusicMan.getPlugins();
|
||||
// If only MDT_MIDI but not MDT_PREFER_MIDI is set we prefer the other devices (which will always be
|
||||
// If only MDT_MIDI but not MDT_PREFER_MT32 or MDT_PREFER_GM is set we prefer the other devices (which will always be
|
||||
// detected since they are hard coded and cannot be disabled.
|
||||
for (int l = (flags & MDT_PREFER_MIDI) ? 1 : 0; l < 2; l++) {
|
||||
for (int l = (flags & (MDT_PREFER_GM | MDT_PREFER_MT32)) ? 1 : 0; l < 2; l++) {
|
||||
if ((flags & MDT_MIDI) && (l == 1)) {
|
||||
// If a preferred MT32 or GM device has been selected that device gets returned
|
||||
hdl = getDeviceHandle(ConfMan.get((flags & MDT_PREFER_MT32) ? "mt32_device" : ((flags & MDT_PREFER_GM) ? "gm_device" : "auto"), Common::ConfigManager::kApplicationDomain));
|
||||
|
@ -58,7 +58,7 @@ enum MusicType {
|
||||
MT_ADLIB, // AdLib
|
||||
MT_TOWNS, // FM-TOWNS
|
||||
MT_PC98, // PC98
|
||||
MT_GM, // General MIDI
|
||||
MT_GM, // General MIDI
|
||||
MT_MT32, // MT-32
|
||||
MT_GS // Roland GS
|
||||
};
|
||||
@ -67,7 +67,7 @@ enum MusicType {
|
||||
* A set of flags to be passed to detectDevice() which can be used to
|
||||
* specify what kind of music driver is preferred / accepted.
|
||||
*
|
||||
* The flags (except for MDT_PREFER_MIDI) indicate whether a given driver
|
||||
* The flags (except for MDT_PREFER_MT32 and MDT_PREFER_GM) indicate whether a given driver
|
||||
* type is acceptable. E.g. the TOWNS music driver could be returned by
|
||||
* detectDevice if and only if MDT_TOWNS is specified.
|
||||
*
|
||||
@ -82,9 +82,8 @@ enum MidiDriverFlags {
|
||||
MDT_TOWNS = 1 << 4, // FM-TOWNS: Maps to MT_TOWNS
|
||||
MDT_PC98 = 1 << 5, // FM-TOWNS: Maps to MT_PC98
|
||||
MDT_MIDI = 1 << 6, // Real MIDI
|
||||
MDT_PREFER_MIDI = 1 << 7, // Real MIDI output is preferred
|
||||
MDT_PREFER_MT32 = 1 << 8, // MT-32 output is preferred
|
||||
MDT_PREFER_GM = 1 << 9 // GM output is preferred
|
||||
MDT_PREFER_MT32 = 1 << 7, // MT-32 output is preferred
|
||||
MDT_PREFER_GM = 1 << 8 // GM output is preferred
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user