Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual Common::Error MusicPluginObject::createInstance ( Audio::Mixer mixer,
MidiDriver **  mididriver 
) const [pure virtual]

Tries to instantiate a MIDI Driver instance based on the settings of the currently active ConfMan target. That is, the MusicPluginObject should query the ConfMan singleton for the device name, port, etc.

mixer Pointer to the global Mixer object
mididriver Pointer to a pointer which the MusicPluginObject sets to the newly create MidiDriver, or 0 in case of an error
a Common::Error describing the error which occurred, or kNoError

Generated by  Doxygen 1.6.0   Back to index