diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2014-09-18 14:07:18 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2014-09-18 14:07:18 -0700 |
commit | a0fd9ca66a68baefd9d76800fd66823fd654ef45 (patch) | |
tree | c3102c24d002966b7c0038e885296d77136a47c3 /MODULE_LICENSE_APACHE2 | |
parent | 2720c8c45a0040d7007239c100591b9f092b780f (diff) | |
download | frameworks_av-a0fd9ca66a68baefd9d76800fd66823fd654ef45.zip frameworks_av-a0fd9ca66a68baefd9d76800fd66823fd654ef45.tar.gz frameworks_av-a0fd9ca66a68baefd9d76800fd66823fd654ef45.tar.bz2 |
AudioEffect acquires session
Currently, users of audio sessions, AudioTrack and AudioRecord,
are acquiring and releasing audio sessions according to their
life-cycle. AudioEffect instances were not counting as users
of an audio session. This caused an effect used on a session
to be purged by AudioFlinger::purgeStaleEffects_l() whenever
the last user of that session went away.
This CL makes AudioEffect acquire and release a session when
created and destroyed.
Bug 15432115
Change-Id: I922532150009988d43872f9b5928044a830ae0b3
Diffstat (limited to 'MODULE_LICENSE_APACHE2')
0 files changed, 0 insertions, 0 deletions