Audio Manager Library
The audio manager serves as a central point of control for the mode of operation of the audio subsystem.
This Audio Manager library provides functions to get and set properties for audio device status, volume, routing, and concurrency. You can also add and remove audio device events to notify clients that are using audio devices. The audio manager allows applications to set up and process events from audio devices supported on the target.
The audio manager provides the following features:
- automatic routing and manual routing of the pcm preferred path
- audio stream type identification
- audio concurrency policy management
- audio device monitoring and mounting (for example, headset, A2DP, HDMI)
Applications can notify the audio manager of the type of audio streams that are opening or closing, and can link specific PCM streams with those types to allow for advanced concurrency use cases (for example, using alerts to automatically trigger audio ducking in the media player). The application can also override the default preferred routing table for the type, allowing the user to choose the loud speaker rather than the wired headset, for example.
The use of the audio manager is optional, but a client that chooses not to use audio manager will be managed as a "default" type audio stream, which will have few privileges associated with it. Applications that wish tighter integration with the audio system will need to use the audio manager if any of the above features are desired.
Last modified: 2013-09-30