History log of /frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
182c2f5e48f46c11dbcb5eecb46268dff4ad4797 15-Jan-2015 Eric Laurent <elaurent@google.com> fix leak in audio policy effect config parser

Free temporary effect descriptors created in
loadAudioEffectConfig().

Bug 19021726.

Change-Id: Icd44216e25df3fe683a01763d7e8a7b84f367a1a
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
223fd5c9738e9665e495904d37d4632414b68c1e 11-Nov-2014 Eric Laurent <elaurent@google.com> audio: new routing strategies and stream types

Added new routing strategies and stream type for internal use
by audio policy manager and audio flinger:
- One for accessibility to allow different routing than media
- One for re-routing (remote submix) in preparation of dynamic
policies
- Added stream type for "internal" audio flinger tracks used
for audio patches and duplication.

Bug: 18067208.
Change-Id: I88f884b552e51e4a49c29125e5a1204cf58ff434
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
7de5ac1f067ec61f7ea424d5534cfd40987b11fa 21-Oct-2014 Eric Laurent <elaurent@google.com> audio policy: fix effect handle leak

Fix ref counting error in AudioPolicyEffect::addInputEffects()
and addOutputSessionEffects()

Bug: 17675112.
Change-Id: I5267d1024a585919f66ead83662e57b78ba53540
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
8b1e80bf1e9f214feea219cfe981ba533b806003 07-Oct-2014 Eric Laurent <elaurent@google.com> audio policy: fix lockup during mediaserver restart

When pre or post processing effects are applied by audio policy service
automatically there is a potential lockup if the first call into
AudioPolicyService is made while creating one of those effects.
This is because effects are created with AudioPolicyService mutex held and
effect creation calls into methods (e.g registerClient()) which also acquire
the mutex.

The fix consists in adding a new mutex to AudioPolicyEffects class and not
hold the AudioPolicyService mutex when calling methods in of class.

Bug: 17830596.
Change-Id: Ie61c3671d3147f46e99ba208f39c1a3bf180779f
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
890a5637b3e3eb197fd2c7f5deec816c7feb13fc 20-Aug-2014 bryant_liu <bryant_liu@htc.com> frameworks: av: AudioPolicyEffect: Add refCount for each session

Audio framework stops and restarts AudioTracks on same audio session.
Sometimes the AudioTrack start() comes before a stop(). As effects
are linked to the session, they should only be created on the last
stop() related to that session.

Bug: 17201117

Change-Id: I19343e293d6b7b6b794fe05ebd0dd239ed3b075c
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
a7e04803ffa0d8d4cc51a122f68bf5038422aabb 21-Jul-2014 Glenn Kasten <gkasten@google.com> Remove execute bit

Change-Id: I1cf0c0d9375779b3074af12f4cbf9c1ec07bf4ff
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
897a408b3f9c893776d67214257ca6a6bc1751bd 12-Jul-2014 Eric Laurent <elaurent@google.com> audiopolicy: remove debug log in AudioPolicyEffects.cpp

Change-Id: Ia037807a91d6649c3f47baccf8c107df496e934e
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp
ba2b43990a7b4f0f2c425cf6cdfc63376a45772c 11-Jun-2014 bryant_liu <bryant_liu@htc.com> frameworks: av: services: audiopolicy: Added AudioPolicyEffects

Manage pre- and postprocessing effects defined in audio_effects.conf

Change-Id: Idea1478e3d434f8ff66907adb3c77663db78d583
/frameworks/av/services/audiopolicy/AudioPolicyEffects.cpp