commit | 592dd7bf150cee7990958632425c411366252083 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Sun Aug 05 18:58:48 2018 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Sep 10 14:07:45 2018 -0700 |
tree | 4cee35a646c148839ed4839a96d03a2464b425ba | |
parent | 8f42ea1fd1c813d9ed97ade72d7514e883cf7cb9 [diff] |
audiopolicy: refactor playback activity ref counting Playback activity ref couting is now based on active state of PlaybackClientDescriptor. The active reference count per stream on each output is still used because it provides a simple implementation for duplicated output. Test: CTS tests for AudioTrack and Routing Test: manual audio smoke test Change-Id: Ifadb1d24131581461aace14a5b25e7c7582c57cb