History log of /hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6fd6f41c1167953043ade42447e9a146ac262acc 02-Jul-2013 Glenn Kasten <gkasten@google.com> Include header files used by this header

Change-Id: I36c6f580c698706b961150978e2124f9235eab12
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
b4d07b97d23cfaffe22c7859ad7c45e168a7df0e 25-Mar-2013 Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Add audio policy API changes for audio offload

Changes to the API of audio policy for audio offload support:
- Add isOffloadSupported() function
- Add OUTPUT_FLAG_OFFLOAD
- Extend AudioOutputDescriptor to include a sharing count for direct outputs
- Pass audio_offload_info_t when opening output streams

Change-Id: I5ad26418fdb286eb7ae299d586dd1fd525d48ab9
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
dc3bf1a37425697277f6ed04fc8cfe4a52fd678a 05-Feb-2013 Jean-Michel Trivi <jmtrivi@google.com> Identify remote stream activity, used for notification routing

Add support for checking remote stream activity.

Don't route notifications like media when media active remotely.

Add remote stream activity query in audio policy HAL.

Bug 7485803

Change-Id: Ifb722c7f9ffbfbdc877fec5156bcfc09bec40651
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
abc55c698301e05a80d7f9394c75abca0b307602 10-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> AudioPolicyManager supports querying active record sources

Add support for querying whether there is currently a recording
underway from the specified audio source.

Bug 7314859

Change-Id: I8894845b176241134870af5df2bebc5ef27e4de4
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
c8101f5b14e745b348592c5609e55f121a11a6bf 24-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Update AudioPolicyManagerBase to only use audio_devices_t

The AudioPolicyManagerBase implementation was using some device
enum values from AudioSystemLegacy.h, of type audio_devices,
and some from /system/audio.h, of type audio_devices_t.
Now only uses audio_devices_t, and associated functions to
inspect what audio device type they correspond to.
Added #define to represent "no audio device" to clarify code.
Removed unused variable in AudioPolicyManagerBase::startOutput()

Change-Id: Ibec311dac550d6a806397377206a43bc708914c0
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
c94dccc97cc3ed5171b45f46a0f7f8762d37156f 24-Jul-2012 Glenn Kasten <gkasten@google.com> effect_descriptor_t const correctness

Change-Id: I734155d4cebb22b180f25290332c7c48be1e2b36
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
0977cf534ffb71c2abac622716510ae8ea25f3e9 18-Apr-2012 Eric Laurent <elaurent@google.com> rename audio policy flags

Change-Id: Ic42eba3432671f651c9703a07fe7b429a8ec0dff
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
70c236c9290732782d5267935af1475b8d5ae602 28-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: load audio hw modules

Audio hw modules are now loaded according to configuration
data read from audio_policy.conf. They are not loaded anymore
from a hardcoded list in AudiFlinger.

Output and input streams are opened on the hw module by which
they are exposed.

Also removed obsolete "acoustics" flags for input streams.

Change-Id: I8dc658cc83890d3ac7d5e36c372a03732aa5b0c4
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
12bd6e4a5c26bd8035bf804d0cc821bd9b8cce9b 15-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Only duplicate notifications when no media is playing

Map the NOTIFICATION stream type to a new strategy,
named STRATEGY_NOTIFICATION_RESPECTFUL, which differs
from STRATEGY_NOTIFICATION in that, when media is
playing, the notifications will use the same output
as the MEDIA strategy. This will results in the
notifications not being duplicated on the speaker
when a headset is in use for media playback.

Change-Id: I032be0e2d383c69b5b6c912d7174753f5572c4b4
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
f9a4e2eccfbbe451512337af0806cfc54be0eaf9 08-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: use audio_devices_t when appropriate

Change-Id: I0b4e2ff705fce96b40fdda28b1bc4b514438bec6
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
70eb9dec508c3269a0792e362ab34ffb3b29976c 27-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_in_acoustics_t consistently

Change-Id: I9875afdf21937c88a5decc9d94e89fddffc3519e
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
ba1e8cb245b1395fa6dd8a3eb9fe92a3d8a99adf 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Audio policy HAL set_ringer_mode is deprecated"
902ec630b6abc9bf6c247e21ff4a829c58a93ce9 19-Jan-2012 Glenn Kasten <gkasten@google.com> Fix typos

Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
ca0657a1ca087a6d474a75fcfedd6aac3901d587 19-Jan-2012 Glenn Kasten <gkasten@google.com> Audio policy HAL set_ringer_mode is deprecated

Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
c6f331b3f48455c9a9cdf00fc82894badd0a7da6 15-Dec-2011 Eric Laurent <elaurent@google.com> audio policy manager: stream volume per device

Improve volume management by keeping track of volume for each type
of device independently.

AudioPolicyManagerBase now keeps track of stream volumes for each device
and apply volume according to current device selection.
Methods to set and get stream volume now specify the device class.
A value for "default" device is always present for each stream and is used
if a device is selected and no specific volume was ever set for this device.

Change-Id: I06d8f43aa151a09014f7e47e81304c73ff82e9f8
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
b7ee39305b9b651dff8c2e5737feb5f9ae1136c9 06-Oct-2011 Olivier Bailly <olivier@google.com> fix build: method needs to be pure virtual, otherwise needs to be defined.

Change-Id: I9dbdd29dc430fbf19a1d9cb8d44a1f9c6f624dbb
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
582a15744be109fb630db7dbd1d1bdf22ff44f12 11-Aug-2011 Eric Laurent <elaurent@google.com> AudioPolicyManager: register effect CPU on enable

Audio effect CPU usage is now registered on enable and
unregistered on disable instead of when the effect is
created or destroyed.

Change-Id: Icffcede9558d8d41887278f0efef2df430927381
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
1c65a49da0c89f75e528354ef02de5dc93a28232 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio effects: support for audio pre processing

Audio policy manager: allow registration of audio effects on
inputs too.

Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
e81531e91ecae92aff471dbff9cbeb0f95ff4a80 20-Apr-2011 Dima Zavin <dima@android.com> hardware_legacy: provide HAL helpers for legacy audio users

This doesn't actually create a HAL, but rather a set of helper static
libraries that device specific libraries (i.e. the old libaudio pieces)
can link against to create a proper audio HAL module.

We provide an audio_policy static wrapper and audio hardware interface
static wrapper.

Change-Id: Ie56195447ad24b83888f752dca24674b0afd8a76
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
fafb18fb31cc4ab3c73585ba508f7643c9a9e3ad 10-Feb-2011 Glenn Kasten <gkasten@google.com> Bug 3352047 Wrong message when adjusting volume

Add hidden AudioManager.getDevicesForStream and output device codes.

Change-Id: I45be59a2774196a135d013e45f38033036f74257
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
36291a74cd212c4172ac054ad0eec686b7e15c96 02-Feb-2011 Eric Laurent <elaurent@google.com> Fix issue 3371080.

Move isStreamActive() method from AudioFlinger to AudioPolicyManager.
iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: Ib0d7d8f061b9f809d307ecfac40960ef582e5f0f
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
61f357948648ff45d35ec79725db4e1b12c268dc 19-Jan-2011 Eric Laurent <elaurent@google.com> Tentative fix for issue 3362362.

Added an initCheck() method to AudioPolicyInterface to verify
successful initialization of AudioPolicyManager.

Change-Id: I4c892282dbeb3246ee6c006bd206a3e723bcb71f
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
d2b227e76033d8c44b71d2982028a63436d3fe84 13-Jul-2010 Eric Laurent <elaurent@google.com> Audio policy manager changes for audio effects

Added methods for audio effects management by audio policy manager.
- control of total CPU load and memory used by effect engines
- selection of output stream for global effects
- added audio session id in parameter list for startOutput() and stopOutput().
this is not used in default audio policy manager implementation.

Change-Id: I3467e64035387cc5272266b1318a5ed788958374
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
323028bd21a3d184efdcb2b6b0896fa343c32510 03-Nov-2009 Eric Laurent <elaurent@google.com> Log for issue 2203561.

Added dump() method to AudioPolicyInterface.
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
f163f3d600c056de0bdca6d12555a0225f76ec9a 21-Oct-2009 Eric Laurent <elaurent@google.com> Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.

Added setVoiceVolume() method to AudioPolicyClientInterface.
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
721365e3e7902598b94f177b1c96afc688a70c0a 27-Aug-2009 Eric Laurent <elaurent@google.com> Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.

Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h
dbfad0ce83535cea0940e04660bdfab5b6c867a4 17-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 1795088 Improve audio routing code

Initial commit for review.
/hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h