The Manager interface is used to manage various audio related aspects. It is suited to manage the audio routing or can priorize differnt types of audio streams. For managing different audio device the volume of differnt device control types can be adjusted.
org.freesmartphone.Audio.Manager
Description: Set the current audio mode. Currently there is only a difference between normal and call. Normal means all audio use when not in a phone call and call means all audio within a phone call.
The new audio mode to set. Expected values are:
Description: Get the current audio mode which is used.
See SetMode for a list of expected values.
Description: Set the current audio output device which is used only within the current mode. If you switch mode then the manager will switch even the output to the last used one in the new mode.
Set the current audio device to use to play audio. Expected values are:
Description: Get the current audio device.
The current device used to play audio. For Expected values see SetDevice
Description: Push a new audio device onto the stack and active it.
The new active audio device. For a list of expected values see SetDevice
Description: Pull an audio device from the stack and activate the next one.
The new active audio device. For a list of expected values see SetDevice
Description: Get all available audio outputs for the specified audio mode.
Mode to retrieve the possible devices for. See SetMode for a list of expected values.
List of available output devices. For a list of expected values see SetDevice
The control you want to get the volume for.
The volume in percent (0-100).
The control you want to set the volume for. Expected values are:
The volume in percent (0-100).
Description: Mute current output device.
The control you want to set the mute state for. See Manager for detailed description of the available controls.
b: muteThe mute state of the control. The possible two values are:
Description: Mute current output device.
The control you want to set the mute state for. See Control for detailed description of the available controls.
The mute state of the control. The possible two values are:
Description: Registering a audio session with the manager. Everytime a application wants to play audio it has to register a audio session for this so the audio daemon can control the played audio and maybe mutes the stream if another audio source is more important than the current one.
The type of the stream the audio is playing on. Expected values are:
A four byte long byte sequence to identify the audio session. The token is needed to release the session after it is over.
Description: Release a audio session from the manager after audio playback is over.
A four byte long byte sequence to identify the audio session. The token is generated and assigned when calling RegisterSession().
The new audio mode. See Mode for possible values.
The new audio output device. See SetDevice for a list of expected values.
The control the volume was changed for. See SetVolume for a list of expected values.
i: volumeThe new volume for the control in percent [0-100].
The control the mute state was changed for. See SetVolume for a list of expected values.
b: muteThe new mute state for the control. Possible valus are:
Description: Raised, if the device to process is unsupported by the used router.
Description: Raised, if there is no more device to pull from the stack.