| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Cleaned it up, and fixed a misplaced ifdef that broke the whole damn
thing.
This reverts commit 568f674b8ef1a83b7ba948b0e53e0dd86207d115.
Change-Id: I99fde73b2cf283dde7e9bcb1e73cf86e553324d3
|
|
|
|
| |
This reverts commit c5358c4b94c2953290988be654b284840551b5bd.
|
|
|
|
| |
Change-Id: If140f0cd1232f927f4870c5de3f25deac73c3778
|
| |
|
|
|
|
| |
vol limit, audio focus requests.
|
|
|
|
|
|
|
|
|
|
|
| |
- AudioPolicyManager: allow platform specific choice for opening a direct output.
Also fixed problems in direct output management.
- AudioFliinger: use shorter standby delay and track inactivity grace period for direct output
thread to free hardware resources as soon as possible.
- AudioSystem: do not use cached output selection in getOutput() when a direct output
can be selected.
Change-Id: If44b50d29237b8402ffd7a5ba1dc43c56f903e9b
|
|
|
|
| |
Change-Id: I5581702780308658415dc4ad19fbe409fdc5c368
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part 1 of the fix: when the user doesn't elect to use the car dock
for music and media, the APM was not aware of the device being
docked.
This is fixed by dissociating the notification for the APM of
the docking to the dock from the sink state change of the A2DP
device.
Also missing was forcing the volumes to be reevaluated whenever
the device is docked or undocked, as volumes for docks may
differ, even when the same output device is being used.
Change-Id: If5314e27821a71adbd6df6fdf887c45208241d96
|
|
|
|
| |
Modified audio policy manager so that wired headset has precedence over A2DP headset.
|
|
|
|
|
|
|
|
|
|
|
| |
call audio on BT hs.
This is not a real fix for the issue but a change to make sure that the behavior is consistent regardless of
external condidions (WIFI ON or OFF, music started before call or not, A2DP device same as SCO device...).
As there is now way to guaranty good quality audio over both SCO and A2DP simultaneously, especially when WIFI is on, We will stick to this behavior:
When music is playing and we are docked to the desk dock and a call is answered with a BT SCO headset, A2DP output will be suspended.
If music is restarted during the call, it will appear muted to the user until the call is terminated.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
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.
Audio policy manager code for platforms using generic audio previously in AudioPolicyManagerGeneric is replaced by AudioPolicyManagerBase.
Audio policy manager test code previously in AudioPolicyManagerGeneric is moved to AudioPolicyManagerBase.
Also added a wake lock for delayed commands in AudioPolicyService.
|