summaryrefslogtreecommitdiffstats
path: root/audio/audio_policy_hal.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use audio_format_t in AudioPolicyGlenn Kasten2013-12-101-2/+2
| | | | | | Also remove unnecessary default parameters Change-Id: I553c01a98b8c2a3f3fd2ac98724aded3ad3c3022
* am 376356d4: Merge "audio: do not use GNU old-style field designators"Nick Kralevich2013-11-061-12/+12
|\ | | | | | | | | * commit '376356d4e0c135e710c6232e7e3f5c950247c848': audio: do not use GNU old-style field designators
| * audio: do not use GNU old-style field designatorssynergy dev2013-11-061-12/+12
| | | | | | | | | | | | Avoiding the use of gnu extensions improves code portability Change-Id: Ifa8f5d230de20a6284bb943c1ca3c48fd5fd5f2d
* | am 2c14d798: Merge "Revert "audio: do not use GNU old-style field designators""Elliott Hughes2013-11-061-12/+12
|\ \ | | | | | | | | | | | | * commit '2c14d79895593d4f8e1241b522cd3ce2d7225aaf': Revert "audio: do not use GNU old-style field designators"
| * | Revert "audio: do not use GNU old-style field designators"Elliott Hughes2013-11-071-12/+12
| | | | | | | | | | | | | | | | | | This reverts commit d2bd76e0dabdfbdd33265b68c6b519cce1d673c6. Change-Id: I6fb884cd0e1efa0c792521b67ed193420f6929ba
* | | am 636ab7e2: Merge "audio: do not use GNU old-style field designators"Nick Kralevich2013-11-061-12/+12
|\ \ \ | |/ / | | | | | | | | | * commit '636ab7e2dd52c3cdad575a49b952c1235d734240': audio: do not use GNU old-style field designators
| * | audio: do not use GNU old-style field designatorssynergy dev2013-11-061-12/+12
| |/ | | | | | | | | | | Avoiding the use of gnu extensions improves code portability Change-Id: Ifa8f5d230de20a6284bb943c1ca3c48fd5fd5f2c
* | Add audio policy API changes for audio offloadRichard Fitzgerald2013-06-271-2/+12
|/ | | | | | | | | | | | 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>
* Identify remote stream activity, used for notification routingJean-Michel Trivi2013-02-111-0/+8
| | | | | | | | | | | | 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
* AudioPolicyManager supports querying active record sourcesJean-Michel Trivi2012-10-101-0/+7
| | | | | | | | | Add support for querying whether there is currently a recording underway from the specified audio source. Bug 7314859 Change-Id: I8894845b176241134870af5df2bebc5ef27e4de4
* effect_descriptor_t const correctnessGlenn Kasten2012-07-241-2/+2
| | | | Change-Id: I734155d4cebb22b180f25290332c7c48be1e2b36
* Use audio_channel_mask_t consistentlyGlenn Kasten2012-06-191-4/+4
| | | | Change-Id: I0a274ab9f30a9380bc00eae69988224721fea177
* rename audio policy flagsEric Laurent2012-04-181-1/+1
| | | | Change-Id: Ic42eba3432671f651c9703a07fe7b429a8ec0dff
* audio policy: use audio_devices_t when appropriateEric Laurent2012-03-081-1/+1
| | | | Change-Id: I0b4e2ff705fce96b40fdda28b1bc4b514438bec6
* Use audio_source_t consistentlyGlenn Kasten2012-01-261-2/+2
| | | | Change-Id: I11de4e92254e128643d8f158c74dcfee97e51005
* Merge "Use audio_format_t consistently"Glenn Kasten2012-01-201-4/+4
|\
| * Use audio_format_t consistentlyGlenn Kasten2012-01-121-4/+4
| | | | | | | | | | | | Was int Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
* | Audio policy HAL set_ringer_mode is deprecatedGlenn Kasten2012-01-181-2/+1
| | | | | | | | Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139
* | Merge "audio policy manager: stream volume per device"Eric Laurent2012-01-171-2/+28
|\ \
| * | audio policy manager: stream volume per deviceEric Laurent2012-01-171-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Use audio_mode_t consistently"Glenn Kasten2012-01-171-2/+3
|\ \ \ | |/ / |/| |
| * | Use audio_mode_t consistentlyGlenn Kasten2012-01-121-2/+3
| |/ | | | | | | Change-Id: I62e23b81e3a411a0d9f012b363373d938827a2e4
* | Use audio_stream_type_t consistentlyGlenn Kasten2012-01-121-2/+2
|/ | | | Change-Id: Ibeb4071cedb930c76dd62222b29844733bdc1548
* Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-251-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I953e5eabaf5023a4dcd76339c336d9132f257f8c
* AudioPolicyManager: register effect CPU on enableEric Laurent2011-08-111-0/+7
| | | | | | | | 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
* Audio effects: support for audio pre processingEric Laurent2011-07-121-2/+2
| | | | | | | Audio policy manager: allow registration of audio effects on inputs too. Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
* audio: update for audio/audio_policy header names/locationsDima Zavin2011-06-131-1/+1
| | | | | Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0 Signed-off-by: Dima Zavin <dima@android.com>
* update for new audio.h header locationDima Zavin2011-05-111-1/+1
| | | | | Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4 Signed-off-by: Dima Zavin <dima@android.com>
* hardware_legacy: provide HAL helpers for legacy audio usersDima Zavin2011-04-271-0/+419
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>