ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

AlsaMusicPlugin Class Reference

Inheritance diagram for AlsaMusicPlugin:
Collaboration diagram for AlsaMusicPlugin:

List of all members.

Public Member Functions

const char * getName () const
 Returns the name of the plugin.
const char * getId () const
 Returns a unique string identifier which will be used to save the selected MIDI driver to the config file.
AlsaDevices getAlsaDevices () const
MusicDevices getDevices () const
 Returns a list of the available devices.
Common::Error createInstance (MidiDriver **mididriver, MidiDriver::DeviceHandle=0) const
 Tries to instantiate a MIDI Driver instance based on the device previously detected via MidiDriver::detectDevice().

Static Private Member Functions

static int parse_addr (const char *arg, int *client, int *port)

Detailed Description

Definition at line 328 of file alsa.cpp.


Member Function Documentation

Common::Error AlsaMusicPlugin::createInstance ( MidiDriver **  mididriver,
MidiDriver::DeviceHandle  = 0 
) const [virtual]

Tries to instantiate a MIDI Driver instance based on the device previously detected via MidiDriver::detectDevice().

Parameters:
mididriver Pointer to a pointer which the MusicPluginObject sets to the newly create MidiDriver, or 0 in case of an error
dev Pointer to a device to be used then creating the driver instance. Default value of zero for driver types without devices.
Returns:
a Common::Error describing the error which occurred, or kNoError

Implements MusicPluginObject.

Definition at line 421 of file alsa.cpp.

AlsaDevices AlsaMusicPlugin::getAlsaDevices (  )  const

Definition at line 346 of file alsa.cpp.

MusicDevices AlsaMusicPlugin::getDevices (  )  const [virtual]

Returns a list of the available devices.

Implements MusicPluginObject.

Definition at line 380 of file alsa.cpp.

const char* AlsaMusicPlugin::getId (  )  const [inline, virtual]

Returns a unique string identifier which will be used to save the selected MIDI driver to the config file.

Implements MusicPluginObject.

Definition at line 334 of file alsa.cpp.

const char* AlsaMusicPlugin::getName (  )  const [inline, virtual]

Returns the name of the plugin.

Implements PluginObject.

Definition at line 330 of file alsa.cpp.

int AlsaMusicPlugin::parse_addr ( const char *  arg,
int *  client,
int *  port 
) [static, private]

Definition at line 480 of file alsa.cpp.


The documentation for this class was generated from the following file:


Generated on Sat May 18 2019 05:04:44 for ResidualVM by doxygen 1.7.1
curved edge   curved edge