diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2015-04-14 19:10:14 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2015-04-14 19:20:20 -0700 |
commit | de80105c3f2db0eabd47640c49387ea3b44d4782 (patch) | |
tree | 9775c7bbe30ef1ab13a888def8531cb0f87b1756 /services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h | |
parent | 079e121934106860af5ff5491bd3884453d1fdb3 (diff) | |
download | frameworks_av-de80105c3f2db0eabd47640c49387ea3b44d4782.zip frameworks_av-de80105c3f2db0eabd47640c49387ea3b44d4782.tar.gz frameworks_av-de80105c3f2db0eabd47640c49387ea3b44d4782.tar.bz2 |
AudioPolicyManager: notification of dynamic policy mix activity
Implement non-stream type specific ref counting in output
descriptors to keep track of mix activity.
Notify audio policy client of mix activity changes.
Bug 20226914
Change-Id: Iec939cb640c58056f88947b611d23b4bb6d8a11b
Diffstat (limited to 'services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h')
-rw-r--r-- | services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h b/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h index f1aee46..50f622d 100644 --- a/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h +++ b/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h @@ -123,6 +123,7 @@ public: sp<SwAudioOutputDescriptor> mOutput1; // used by duplicated outputs: first output sp<SwAudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output uint32_t mDirectOpenCount; // number of clients using this output (direct outputs only) + uint32_t mGlobalRefCount; // non-stream-specific ref count }; class SwAudioOutputCollection : |