commit | 890a5637b3e3eb197fd2c7f5deec816c7feb13fc | [log] [tgz] |
---|---|---|
author | bryant_liu <bryant_liu@htc.com> | Wed Aug 20 18:06:13 2014 +0800 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Thu Aug 28 17:45:55 2014 -0700 |
tree | 71a722cfba64b26c6f4d09b0e353986928d12d3d | |
parent | 8b250cb67d0cab6234c0e8e0e21342d03c1eca5d [diff] |
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