Audio Engine Plugin Development
Parent Class: plugin.AudioEnginePlugin
Required Methods:
get_devices(device_type=audioengine.DEVICE_TYPE_ALL)
Parameters:
The device_type parameter can be passed one of the following values:
naomi.audioengine.DEVICE_TYPE_INPUT
naomi.audioengine.DEVICE_TYPE_OUTPUT
naomi.audioengine.DEVICE_TYPE_ALL
Returns list of AudioDevice objects
get_default_device(output=True)
Parameters:
output can be either True (return output device) or False
Returns an AudioDevice object
get_device_by_slug(slug)
Parameters:
slug is a string that describes an audio device
Returns an AudioDevice object
Each AudioEngine has to define its own AudioDevice object as well.