ScummVM
|
Go to the source code of this file.
Classes | |
class | MidiDriver_BASE |
TODO: Document this, give it a better name. More... | |
class | MidiDriver |
Abstract MIDI Driver Class. More... | |
class | MidiChannel |
Enumerations | |
enum | MusicType { MT_INVALID = -1, MT_AUTO = 0, MT_NULL, MT_PCSPK, MT_PCJR, MT_CMS, MT_ADLIB, MT_C64, MT_AMIGA, MT_APPLEIIGS, MT_TOWNS, MT_PC98, MT_GM, MT_MT32, MT_GS } |
Music types that music drivers can implement and engines can rely on. More... | |
enum | MidiDriverFlags { MDT_NONE = 0, MDT_PCSPK = 1 << 0, MDT_CMS = 1 << 1, MDT_PCJR = 1 << 2, MDT_ADLIB = 1 << 3, MDT_C64 = 1 << 4, MDT_AMIGA = 1 << 5, MDT_APPLEIIGS = 1 << 6, MDT_TOWNS = 1 << 7, MDT_PC98 = 1 << 8, MDT_MIDI = 1 << 9, MDT_PREFER_MT32 = 1 << 10, MDT_PREFER_GM = 1 << 11 } |
A set of flags to be passed to detectDevice() which can be used to specify what kind of music driver is preferred / accepted. More... | |
enum MidiDriverFlags |
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_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.
MDT_PREFER_MT32 and MDT_PREFER_GM indicate the MIDI device type to use when no device is selected in the music options, or when the MIDI device selected does not match the requirements of a game engine. With these flags, more priority is given to an MT-32 device, or a GM device respectively.
Enumerator | |
---|---|
MDT_NONE | |
MDT_PCSPK | |
MDT_CMS | |
MDT_PCJR | |
MDT_ADLIB | |
MDT_C64 | |
MDT_AMIGA | |
MDT_APPLEIIGS | |
MDT_TOWNS | |
MDT_PC98 | |
MDT_MIDI | |
MDT_PREFER_MT32 | |
MDT_PREFER_GM |