commit | fe23112742eeb6199c3aa1f3dfcf800fc2aa0e26 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Nov 17 17:48:06 2017 -0800 |
committer | Eric Laurent <elaurent@google.com> | Tue Nov 21 14:14:49 2017 -0800 |
tree | 5297ab7f4a098bd8c0c0e89e27a54e9fd450ce5a | |
parent | a221a7c81776add538e6cd82cddfa427364beb79 [diff] |
audio policy: refactor output and input opening Refactor the way input and output streams are open so that common logic is centralized in AudioOutputDescriptor and AudioInputDescriptor classes. This is in preparation of adding reference counting for ouputs and inputs opened for a given profile. Test: Manual Change-Id: Id806e23077eb41f6398400ab40aeaa694c7d5603