|
|
This is the set of Unix platform additional APIs for the MidiSchedulerFactory.
The MidiSchedulerFactory will (depending on availablity and compile-time options) create either:
enum UnixPlatform { UnixPlatform_OSS, UnixPlatform_Alsa, UnixPlatform_Arts, UnixPlatform_Null } | UnixPlatform |
enum type describing a type of Unix MidiScheduler class.
UnixPlatform preferredPlatform ()
| preferredPlatform |
Returns the currently set preferred platform.
The default is UnixPlatform_Alsa.
Returns: Preferred platform
See also: setPreferredPlatform
void setPreferredPlatform (UnixPlatform p)
| setPreferredPlatform |
Sets the preferred platform. You will need to call this prior to the createScheduler method being called if you require behaviour different from the default.
The default is UnixPlatform_Alsa.
Parameters:
p | Preferred platform type |
See also: preferredPlatform
UnixPlatform createdPlatform ()
| createdPlatform |
Returns the type of platform that has been created by the MidiScheduler.
The result is only valid after createScheduler has been called, and if the MidiSchedulerFactory really is a Unix version.