History log of /hardware/libhardware_legacy/audio/audio_policy_hal.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/audio/audio_policy_hal.cpp
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/audio/audio_policy_hal.cpp
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/audio/audio_policy_hal.cpp
c94dccc97cc3ed5171b45f46a0f7f8762d37156f 24-Jul-2012 Glenn Kasten <gkasten@google.com> effect_descriptor_t const correctness

Change-Id: I734155d4cebb22b180f25290332c7c48be1e2b36
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
551b6a3b5cbf314b4021da64fada0c9119b2535f 19-Jun-2012 Glenn Kasten <gkasten@google.com> Use audio_channel_mask_t consistently

Change-Id: I0a274ab9f30a9380bc00eae69988224721fea177
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
0977cf534ffb71c2abac622716510ae8ea25f3e9 18-Apr-2012 Eric Laurent <elaurent@google.com> rename audio policy flags

Change-Id: Ic42eba3432671f651c9703a07fe7b429a8ec0dff
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
f9a4e2eccfbbe451512337af0806cfc54be0eaf9 08-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: use audio_devices_t when appropriate

Change-Id: I0b4e2ff705fce96b40fdda28b1bc4b514438bec6
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
f3b5a0736ef9545f82f3d4ceea3359776d6f0c92 27-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_source_t consistently

Change-Id: I11de4e92254e128643d8f158c74dcfee97e51005
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
c97d4bb2bdbb9b057685412d966bca2d4aa3fa3d 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_format_t consistently"
ca0657a1ca087a6d474a75fcfedd6aac3901d587 19-Jan-2012 Glenn Kasten <gkasten@google.com> Audio policy HAL set_ringer_mode is deprecated

Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
f6fc420a79f98d93d953a60b1fc0a5b5f71a3fe2 18-Jan-2012 Eric Laurent <elaurent@google.com> Merge "audio policy manager: stream volume per device"
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/audio/audio_policy_hal.cpp
9038c346d76d6f9e33be34b7760f39804553d993 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_mode_t consistently"
d97809bca3b086fe85475f462b6fdba6775f5ae1 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_stream_type_t consistently

Change-Id: Ibeb4071cedb930c76dd62222b29844733bdc1548
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
53e2cfab45b411db0bf6c4b5d146cd9d8b1b1425 13-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Was int

Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
5c1ebdc9db8d7e5ff51704f80c55f460638eb095 09-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_mode_t consistently

Change-Id: I62e23b81e3a411a0d9f012b363373d938827a2e4
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
6a70518b93928d1c91457ff805e375c82d76b0e5 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I953e5eabaf5023a4dcd76339c336d9132f257f8c
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
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/audio/audio_policy_hal.cpp
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/audio/audio_policy_hal.cpp
d17f66f33276e64e8e288f6ff2b1cb8169650c81 14-Jun-2011 Dima Zavin <dima@android.com> audio: update for audio/audio_policy header names/locations

Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
4a0748be283a8c9efa02243c3e1716c49443a87c 11-May-2011 Dima Zavin <dima@android.com> update for new audio.h header location

Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware_legacy/audio/audio_policy_hal.cpp
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/audio/audio_policy_hal.cpp