summaryrefslogtreecommitdiffstats
path: root/include/media/AudioPolicy.h
Commit message (Collapse)AuthorAgeFilesLines
* AudioSystem callback for dynamic policy mix activityJean-Michel Trivi2015-04-291-6/+13
| | | | | | | | | | Add method to AudioPolicyServiceClient for dynamic policy mix activity notification. Propagate notification to a dedicated callback. Bug 20226914 Change-Id: I37928ed38e15ea2b8fed022cccadeca8c4d6c876
* AudioPolicyManager: notification of dynamic policy mix activityJean-Michel Trivi2015-04-141-2/+9
| | | | | | | | | | 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
* audio policy: add support for custom mixesEric Laurent2014-12-091-0/+82
Add support for custom mixes in AudioPolicyManager. Two methods are added to register or unregister a list of custom mixes with their attributes and format. getOutputForAttr() and getInputForAttr() first look for a match in registered mixes before defaulting to normal output/input selection Remote submix device connection disconnection now takes address into account to identify the correspnoding custom mix. Bug: 16009464. Change-Id: I3f1c2a485a0fb71b1f984ed0adc9b68aa971e408