History log of /hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ccdf14a85ed66ac54036fb393acc06ea7acfed6 20-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: use configuration file

The audio policy manager implementation now reads a configuration file at
boot time that contains descriptors for available audio hardware
modules and for each module the profiles of available inputs and outputs streams.

The configuration file path on the target is: /system/etc/audio_policy.conf.
A default configuration file is given that defines a basic configuration
with one primary audio hw module capable of playback and capture.
Each platform or device should have its own audio_policy.conf file.

Also removed default value of fromCache argument of getDeviceForStrategy()
and getNewDevice() methods.

Change-Id: I0c773d2331508bbc787f89b123dd6a7b8c10d459
/hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.h
b4696fc22ba822ed37bd2e3a19bc17514ccc79c8 17-Feb-2012 Eric Laurent <elaurent@google.com> audio policy manager: more generic A2DP impl.

This change makes support for A2DP related audio policy more generic:
-removed WITH_A2DP compilation switch
-use output profile descriptors listing the parameters
(sampling rate, format...) devices and attributes (low power, tunneling...)
for each available output.
All the behavior specific to A2DP is derived from the A2DP output profile
descriptor.
- removed obsolete a2dpUsedForSonification() method.

This is a first step towards a more generic support for different audio
hardware modules (USB, HDMI) and output streams supporting different
combinations of parameters (sampling rate, format...) and attributes
(low power, tunneling...).
Ultimately, the hw modules and output descriptors will loaded from a
configuration file.

Change-Id: Ife3e49e1afbcb72613bfc8ce38919bb087ca85ea
/hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.h
d8d8c60a3a91a2029294d95344b80d76fec09aed 27-Apr-2011 Dima Zavin <dima@android.com> hardware_legacy/audio: provide a default audio policy implementation

This uses the legacy policy code to build a default implementation that
can be used while we figure out what the new policy inheritance should
look like.

Change-Id: I3e4154abc7152b4f560b28e391a268bf508767e3
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.h