| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Use channel mask values that match OpenSL ES and other common APIs.
Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| | |
Change-Id: Iee92ee9fee15037cffde86b9cd2c9407afb8d2ca
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Audio policy manager: allow registration of audio effects on
inputs too.
Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
|
| |/
|
|
|
| |
Change-Id: I1c4afe43457a295c0ffe0a865c6c331109dce614
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
|
|
| |
Change-Id: I0a84ddbff53f13662873f69d9be4dfa13ebcb8fe
|
| |
|
|
|
| |
Change-Id: Ib9dc8ce84febb2fba045ee527838653d0d1ad11b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
|
|
|
| |
Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0
Signed-off-by: Dima Zavin <dima@android.com>
|
| |
|
|
|
| |
Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4
Signed-off-by: Dima Zavin <dima@android.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Add a parameter to applyStreamVolumes() to force stream volume update.
Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5
|
| |
|
|
|
|
| |
Add hidden AudioManager.getDevicesForStream and output device codes.
Change-Id: I45be59a2774196a135d013e45f38033036f74257
|
| |\
| |
| |
| |
| | |
* commit '01056fcfbbbb577f7d70324a4d6a3a211a519951':
Fix issue 3371080.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
| |
Change-Id: I7cb31c9ecd3c347bfa72cad5a331500a20fdcfbe
|
| |
|
|
|
|
|
| |
Added an initCheck() method to AudioPolicyInterface to verify
successful initialization of AudioPolicyManager.
Change-Id: I4c892282dbeb3246ee6c006bd206a3e723bcb71f
|
| |\
| |
| |
| |
| | |
* commit '3cb64cb8bbda335affcb3c71fce3c4f908a97111':
Fix issue 3142808.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Change-Id: I965cbeee67f72e31240e3e8cd2630bf22a03b9ea
|
| | |
| |
| |
| | |
Change-Id: Ic0d967bc72c542fc6a97331c9197114f3f571c08
|
| | |
| |
| |
| | |
Change-Id: I2315f5638668ab802a4b3c723afd97b7edf0c695
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge commit 'bab20b6759d9f0445e4ff5f27f0a3666f0efafa5'
* commit 'bab20b6759d9f0445e4ff5f27f0a3666f0efafa5':
Fix issue 2952766.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Change-Id: I73600a11891b1380d8bc1bfbc24494410a989fcb
|
| |\|
| |
| |
| | |
Change-Id: Ib6ab3b02aede7e07b71e19b16d305919be849bdd
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
We now use the libhardware HAL interface instead.
Change-Id: I0e52ff1da13109b509f166a6437d0a24cdd389b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
|
|
|
|
| |
Make the choice of opening a direct output stream platform specific.
Change-Id: I63e5464a18aaa3600e9fed6cec0518ff1fad4dbd
|
| |
|
|
|
| |
Change-Id: I4df46fff44846b770a00d5f055ec483e9caf2516
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
|
|
|
|
|
|
|
| |
The gps debug extension provides a single function that allows the native
gps implementation to include an arbitrary string in bugreports.
Change-Id: I1bd8e403e421847784804c47d83e3600340b3fea
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
|
|
|
|
|
|
| |
sholes
Add API to retrieve number of frames dropped by audio input kernel driver.
Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Make computeVolume() method virtual so that its implementation can be platform specific.
|
| |
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
| |
|
|
|
| |
Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames
written by DSP to DAC.
|
| |
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
| |\ |
|
| | |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
Signed-off-by: San Mehat <san@google.com>
|
| |/
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
| |
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
| |
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
| |
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
| |
|
|
|
| |
Change-Id: I7d366449301ee685bb3202c738ade06c3102229e
Signed-off-by: Mike Lockwood <lockwood@android.com>
|