summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixes for concurrency support"Irfan Sheriff2012-02-141-8/+1
|\
| * Fixes for concurrency supportIrfan Sheriff2012-01-201-8/+1
| | | | | | | | Change-Id: Ia7251dc86184fff710234c70a8ad54a6b245809a
* | Use audio_in_acoustics_t consistentlyGlenn Kasten2012-01-271-1/+1
| | | | | | | | Change-Id: I9875afdf21937c88a5decc9d94e89fddffc3519e
* | Merge "Use audio_format_t consistently"Glenn Kasten2012-01-201-2/+2
|\ \
| * | Use audio_format_t consistentlyGlenn Kasten2012-01-121-2/+2
| | | | | | | | | | | | | | | | | | Was int Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
* | | Merge "Audio policy HAL set_ringer_mode is deprecated"Glenn Kasten2012-01-202-4/+0
|\ \ \
| * | | Audio policy HAL set_ringer_mode is deprecatedGlenn Kasten2012-01-182-4/+0
| | |/ | |/| | | | | | | Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139
* | | Fix typosGlenn Kasten2012-01-182-6/+7
|/ / | | | | | | Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691
* | audio policy manager: stream volume per deviceEric Laurent2012-01-172-10/+25
|/ | | | | | | | | | | | | 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
* Add support for p2p socket communicationIrfan Sheriff2011-12-281-53/+12
| | | | | | | Right now, everything goes over the primary interface socket connection. Add support for a seperate connection over the p2p interface. Change-Id: I09118f88cfaa201b2d62d27add410cfd441d4454
* Force camera shutter sound to speaker in Japan.Eric Laurent2011-11-011-0/+1
| | | | | | | | | | | 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
* Fix issue 5440852: Youtube volume is too small ...Eric Laurent2011-10-181-3/+24
| | | | | | | | | | | | 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
* fix build: method needs to be pure virtual, otherwise needs to be defined.Olivier Bailly2011-10-051-1/+1
| | | | Change-Id: I9dbdd29dc430fbf19a1d9cb8d44a1f9c6f624dbb
* Issue 5256795: Phone ringtone volume is too lowEric Laurent2011-09-121-8/+16
| | | | | | | | | | | | 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
* uevent: add helper to get uevent FDErik Gilling2011-09-081-0/+1
| | | | | | | This allows users of the library to handle thier own poll loop. Change-Id: Id3fe2be442c0ca29c74253f9f36e9377278780e4 Signed-off-by: Erik Gilling <konkers@android.com>
* Add support seperate p2p config fileIrfan Sheriff2011-08-261-0/+7
| | | | | | | Also, fixed a bug with config overwrite with ctrl_interface update Bug: 5002384 Change-Id: I870c12ee58d60f696512c27deb4b9d35b4dc3b2a
* AudioPolicyManager: register effect CPU on enableEric Laurent2011-08-112-0/+5
| | | | | | | | 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
* Merge "Fix bug 4319552 Use commonly defined channel mask values"Jean-Michel Trivi2011-07-261-21/+18
|\
| * Fix bug 4319552 Use commonly defined channel mask valuesJean-Michel Trivi2011-07-251-21/+18
| | | | | | | | | | | | Use channel mask values that match OpenSL ES and other common APIs. Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c
* | Merge "Fix bug 4211099 channel constants and 7.1 mask"Jean-Michel Trivi2011-07-251-14/+33
|\ \ | |/
| * Fix bug 4211099 channel constants and 7.1 maskJean-Michel Trivi2011-07-251-14/+33
| | | | | | | | | | | | | | | | | | Add definitions for the side and elevated channels. Correct definition of 7.1 mask which uses the side channels rather than the front half-pan channels. Change-Id: I8b75c6fb380fddc2db09fab53799850218940c93
* | Merge "wifi: Add entropy file support"Dmitry Shmidt2011-07-251-0/+6
|\ \ | |/ |/|
| * wifi: Add entropy file supportDmitry Shmidt2011-07-251-0/+6
| | | | | | | | | | Change-Id: Iee92ee9fee15037cffde86b9cd2c9407afb8d2ca Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | Merge "Audio effects: support for audio pre processing"Eric Laurent2011-07-202-3/+3
|\ \ | |/ |/|
| * Audio effects: support for audio pre processingEric Laurent2011-07-122-3/+3
| | | | | | | | | | | | | | Audio policy manager: allow registration of audio effects on inputs too. Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
* | wifi: Add wifi_change_fw_path()Dmitry Shmidt2011-07-191-0/+5
|/ | | | | Change-Id: I1c4afe43457a295c0ffe0a865c6c331109dce614 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* Audio HAL: added interface for audio preprocessingEric Laurent2011-07-111-0/+2
| | | | Change-Id: I0a84ddbff53f13662873f69d9be4dfa13ebcb8fe
* wifi: Add wifi_get_fw_path() callDmitry Shmidt2011-07-011-0/+8
| | | | | Change-Id: Ib9dc8ce84febb2fba045ee527838653d0d1ad11b Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* audio: update for audio/audio_policy header names/locationsDima Zavin2011-06-132-2/+2
| | | | | Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0 Signed-off-by: Dima Zavin <dima@android.com>
* update for new audio.h header locationDima Zavin2011-05-113-3/+3
| | | | | Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4 Signed-off-by: Dima Zavin <dima@android.com>
* hardware_legacy: provide HAL helpers for legacy audio usersDima Zavin2011-04-275-7/+356
| | | | | | | | | | | | 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>
* Improvement for issue 3489986: BT SCO volumeEric Laurent2011-03-151-1/+1
| | | | | | Add a parameter to applyStreamVolumes() to force stream volume update. Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5
* Bug 3352047 Wrong message when adjusting volumeGlenn Kasten2011-02-102-0/+6
| | | | | | Add hidden AudioManager.getDevicesForStream and output device codes. Change-Id: I45be59a2774196a135d013e45f38033036f74257
* am 01056fcf: am 36291a74: Fix issue 3371080.Eric Laurent2011-02-032-3/+7
|\ | | | | | | | | * commit '01056fcfbbbb577f7d70324a4d6a3a211a519951': Fix issue 3371080.
| * Fix issue 3371080.Eric Laurent2011-02-022-3/+7
| | | | | | | | | | | | | | | | 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
* | Bug 3376700 Update APM header for volume initialization and computationJean-Michel Trivi2011-01-251-0/+16
|/ | | | Change-Id: I7cb31c9ecd3c347bfa72cad5a331500a20fdcfbe
* Tentative fix for issue 3362362.Eric Laurent2011-01-192-1/+3
| | | | | | | Added an initCheck() method to AudioPolicyInterface to verify successful initialization of AudioPolicyManager. Change-Id: I4c892282dbeb3246ee6c006bd206a3e723bcb71f
* am 3cb64cb8: am 2f2db765: Fix issue 3142808.Eric Laurent2010-12-011-1/+3
|\ | | | | | | | | * commit '3cb64cb8bbda335affcb3c71fce3c4f908a97111': Fix issue 3142808.
| * Fix issue 3142808.Eric Laurent2010-11-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug in the way audio policy manager handles A2DP interface suspend/restore when SCO is used. This bug is not new but has been triggered by a change in the timing of the events received by audio policy manager when a call is setup and torn down introduced by commit 164a8f86c7e48992691368c4895709c3bdb835a4. The fix consists in grouping the control of A2DP suspended state in a single function that is called systematically when conditions affecting this state are changed: - call state change - device connection/disconnection - change in forced usage. Change-Id: Ib76a999513b5afbfd59ba945f8650d2a48d6f480
* | Support new audio mode for audio communication other than telephony.Jean-Michel Trivi2010-11-152-8/+18
| | | | | | | | Change-Id: I965cbeee67f72e31240e3e8cd2630bf22a03b9ea
* | Add an API to find out whether there is a vibrator.Dianne Hackborn2010-11-041-0/+7
| | | | | | | | Change-Id: Ic0d967bc72c542fc6a97331c9197114f3f571c08
* | add native uevent handlingErik Gilling2010-10-201-0/+3
| | | | | | | | Change-Id: I2315f5638668ab802a4b3c723afd97b7edf0c695
* | am bab20b67: am d6e68c3a: Fix issue 2952766.Eric Laurent2010-08-301-2/+2
|\ \ | |/ | | | | | | | | | | Merge commit 'bab20b6759d9f0445e4ff5f27f0a3666f0efafa5' * commit 'bab20b6759d9f0445e4ff5f27f0a3666f0efafa5': Fix issue 2952766.
| * Fix issue 2952766.Eric Laurent2010-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | The fix for issue 2952766 showed some unused code in AudioPolicyManagerBase::checkOutputForStrategy(): since commit eb8f850d0b7e53956e917fd9645f808c1a09bc88: there is no need to update the hardware output device as it will be updated when the new tracks are created by audioflinger. Change-Id: I2f46fab58a5db3b4cd03fdaeebd7d6603c8dbbdd
* | Add is_wifi_driver_loadedIrfan Sheriff2010-07-271-0/+8
| | | | | | | | Change-Id: I73600a11891b1380d8bc1bfbc24494410a989fcb
* | resolved conflicts for merge of 930fe98b to masterEric Laurent2010-07-202-9/+71
|\ \ | |/ | | | | Change-Id: Ib6ab3b02aede7e07b71e19b16d305919be849bdd
| * Audio policy manager changes for audio effectsEric Laurent2010-07-202-9/+70
| | | | | | | | | | | | | | | | | | | | 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
* | Fix issue 2641884: Bluetooth volume is dependent on in call volume.Eric Laurent2010-05-251-1/+1
|/ | | | | | | | | | | The problem is that the code in AudioPolicyManagerBase::checkAndSetVolume() that forces voice volume to max when setting bluetooth SCO volume is not called if the bluetooth stream volume did not actually change. So even if we re apply volumes when switching to bluetooth device, the voice volume is not changed in audio HAL and remains what it was when routed to earpiece. What makes things worse on Passion is that stream volumes are limited when connected to bluetooth and their actual value does not change as soon as they exceed the limit threshold. Change-Id: Ic6c54b4a7fd54983f445de9a9b5cd2ea0025155c
* Remove obsolete GPS support.Mike Lockwood2010-04-052-506/+0
| | | | | | | We now use the libhardware HAL interface instead. Change-Id: I0e52ff1da13109b509f166a6437d0a24cdd389b3 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Fix issue 2416481: Support Voice Dialer over BT SCO.Eric Laurent2010-03-151-1/+9
| | | | | | Make the choice of opening a direct output stream platform specific. Change-Id: I63e5464a18aaa3600e9fed6cec0518ff1fad4dbd