diff options
author | Steve Kondik <steve@cyngn.com> | 2016-03-07 03:43:14 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-03-08 17:34:54 -0800 |
commit | 47f8c7303c9e2054f1492b02b6c7472385c52dc9 (patch) | |
tree | 99179985590f64d6c01051365deaa59552d1d582 /services/audiopolicy/enginedefault | |
parent | 0479d7c79a7fd6f112e8dc7e45c009cf6602dbaa (diff) | |
download | frameworks_av-47f8c7303c9e2054f1492b02b6c7472385c52dc9.zip frameworks_av-47f8c7303c9e2054f1492b02b6c7472385c52dc9.tar.gz frameworks_av-47f8c7303c9e2054f1492b02b6c7472385c52dc9.tar.bz2 |
audiopolicy: Defer release of output session effects
* Some effects modules are racy and don't tolerate being destroyed
and immediately resurrected on the same session. This is
the common case when switching tracks, and the use of default
output effects makes the problem even worse. Certain apps
which handle gapless in a sloppy way are also to blame.
* Instead of immediately nuking the entire descriptor with the
stream, just decrease the refcount and defer it for 10 seconds.
If it needs resurrected, the refcount will be increased and
the delayed release command will not shoot it in the face.
Change-Id: I068dd72c4180023a74eb9ccbe8a180f6f0683dbf
Diffstat (limited to 'services/audiopolicy/enginedefault')
0 files changed, 0 insertions, 0 deletions