summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioPolicyManagerBase.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 3352047 Wrong message when adjusting volumeGlenn Kasten2011-02-101-0/+3
| | | | | | Add hidden AudioManager.getDevicesForStream and output device codes. Change-Id: I45be59a2774196a135d013e45f38033036f74257
* am 01056fcf: am 36291a74: Fix issue 3371080.Eric Laurent2011-02-031-3/+5
|\ | | | | | | | | * commit '01056fcfbbbb577f7d70324a4d6a3a211a519951': Fix issue 3371080.
| * Fix issue 3371080.Eric Laurent2011-02-021-3/+5
| | | | | | | | | | | | | | | | 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-191-0/+1
| | | | | | | 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-151-0/+4
| | | | | | | | Change-Id: I965cbeee67f72e31240e3e8cd2630bf22a03b9ea
* | 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
* | resolved conflicts for merge of 930fe98b to masterEric Laurent2010-07-201-7/+47
|\ \ | |/ | | | | Change-Id: Ib6ab3b02aede7e07b71e19b16d305919be849bdd
| * Audio policy manager changes for audio effectsEric Laurent2010-07-201-7/+46
| | | | | | | | | | | | | | | | | | | | 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
* 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
* Fix issue 2305382: Pick up original call makes a noisy beep when wired ↵Eric Laurent2010-02-231-0/+3
| | | | | | | | | | headset connected. The noise is the residual ring tone that is still playing while the call is answered and the audio route changed to headset or earpiece. The fix consists in muting the ringing tone when changing mode from ringtone to in call and delaying the route change until the audio buffers are emptied.
* Fix issue 2440226: Car dock volume synchronization.Eric Laurent2010-02-161-1/+1
| | | | Make computeVolume() method virtual so that its implementation can be platform specific.
* Create base class for audio policy manager.Eric Laurent2010-01-131-0/+279
First implementations of audio policy manager in Eclair branch have shown that most code is common to all platforms. Creating AudioPolicyManagerBase base class will improve code maintainability and readability.