summaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Audio policy HAL set_ringer_mode is deprecatedGlenn Kasten2012-01-182-13/+2
| | | | | | | | | | | | Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139
* | | Merge "audio policy manager: stream volume per device"Eric Laurent2012-01-172-40/+152
|\ \ \
| * | | audio policy manager: stream volume per deviceEric Laurent2012-01-172-40/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-172-4/+6
|\ \ \ \ | |/ / / |/| | |
| * | | Use audio_mode_t consistentlyGlenn Kasten2012-01-122-4/+6
| |/ / | | | | | | | | | Change-Id: I62e23b81e3a411a0d9f012b363373d938827a2e4
* / / Use audio_stream_type_t consistentlyGlenn Kasten2012-01-121-2/+2
|/ / | | | | | | Change-Id: Ibeb4071cedb930c76dd62222b29844733bdc1548
* | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-085-21/+21
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Idfcd2f2269080d92a621dc432c65f7cf244588af
* | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-053-46/+46
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I86e4ce26d8fba68584d0a7fc17111b53c56d2932
* | Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-032-4/+4
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I9dfdc3f00a5f4f5b6ef4c75280ce2594ab018577
* | audio policy manager: remove ringer mode dumpEric Laurent2011-12-081-2/+3
| | | | | | | | | | | | | | | | | | The ringer mode is at the moment not passed down from AudioService to AudioPolicyManager as it is currently not used in any routig decision. So the value store in audio policy manager is wrong and the dump is miss leading. Change-Id: I3c21c168393470fd64c1b73e3c511576a9acdd7e
* | am c16ac09f: Force camera shutter sound to speaker in Japan.Eric Laurent2011-11-021-12/+41
|\ \ | | | | | | | | | | | | * commit 'c16ac09f510437e8340be691720177a490ae78f0': Force camera shutter sound to speaker in Japan.
| * | Force camera shutter sound to speaker in Japan.Eric Laurent2011-11-011-12/+41
| |/ | | | | | | | | | | | | | | | | | | | | Make sure that camera shutter sound is output to device speaker also while in call. Added a new strategy for enforced audible stream to address this case as the routing policy is now different from sonification strategy. Issue 5548406. Change-Id: I2de39dfaef7d90e3804b238b1379f0f59b75e985
* / Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-255-109/+109
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I953e5eabaf5023a4dcd76339c336d9132f257f8c
* Fix music heard in speaker before notifications.Eric Laurent2011-10-201-1/+3
| | | | | | | | | | | | Increase the delay after muting music when switching audio path to both speaker and headset for notifications and ringtones. This is required to avoid a residual of music to be output to speaker now that the max latency has been increased in low power playback mode. This is a temporary workaround that will be removed when low power mode is controlled policy manager. Change-Id: If08e7f46e499be362badb2a24a79d1723ebfc00a
* Fix issue 5440852: Youtube volume is too small ...Eric Laurent2011-10-181-26/+111
| | | | | | | | | | | | When no DRC is applied by the platform when playing over the device speaker, faint audio signals are not boosted and barely audible until the media volume is raised to about one fourth of the range. Compensate this by applying a different volume curve for music stream when the speaker is selected. Change-Id: I03f316fb28150eda50b05dfa12310701e2674648
* Issue 5256795: Phone ringtone volume is too lowEric Laurent2011-09-121-35/+32
| | | | | | | | | | | | Modified the volume curve for ringtones and notifications in audio policy manager. The first volume step now corresponds to -30dB instead of -50dB thus making ringtone much more audible for low volume settings. Also made a generic implementation of volume curves according to audio policy strategies. Change-Id: Ieb7916ba2e53c2a10a47efec82814cabed21c48b
* audio policy manager: invert SPDIF/HDMI priorityEric Laurent2011-09-121-7/+8
| | | | | | | | | | Route media audio in priority to S/PDIF output when available even if HDMI is connected. This allows users to chose to output audio to a different system than the display. Also force media volume to max when playing over S/PDIF. Change-Id: I03b82a7235cb60f2b5d6cf7923570554b07ac400
* AudioPolicyManager: register effect CPU on enableEric Laurent2011-08-112-18/+56
| | | | | | | | 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-122-15/+19
| | | | | | | Audio policy manager: allow registration of audio effects on inputs too. Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
* Audio HAL: added interface for audio preprocessingEric Laurent2011-07-111-0/+28
| | | | Change-Id: I0a84ddbff53f13662873f69d9be4dfa13ebcb8fe
* audio: update for audio/audio_policy header names/locationsDima Zavin2011-06-134-4/+4
| | | | | Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0 Signed-off-by: Dima Zavin <dima@android.com>
* update for new audio.h header locationDima Zavin2011-05-114-4/+4
| | | | | Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4 Signed-off-by: Dima Zavin <dima@android.com>
* hardware_legacy/audio: provide a default audio policy implementationDima Zavin2011-04-273-0/+105
| | | | | | | | | 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>
* legacy: build legacy audio wrapper libsDima Zavin2011-04-271-0/+66
| | | | | | | | Note that the legacy audio helper libs are not part of the main libhardware_legacy lib itself. Change-Id: Ie08343ab8de2d298db0041c711d7e02a284bc4c3 Signed-off-by: Dima Zavin <dima@android.com>
* hardware_legacy: provide HAL helpers for legacy audio usersDima Zavin2011-04-2712-54/+1237
| | | | | | | | | | | | 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>
* legacy: move legacy audio code from frameworks/base hereDima Zavin2011-04-2710-0/+4726
Change-Id: Ic5da0130af44354dffdf85c30cd99f57c6ee163c Signed-off-by: Dima Zavin <dima@android.com>