commit | 733ce945741b1fc12cee92d8133c3136b4e6e0e0 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Dec 07 12:18:25 2017 -0800 |
committer | Eric Laurent <elaurent@google.com> | Tue Dec 12 12:45:51 2017 -0800 |
tree | fbf765136f3dcccf9595c49bdc949e426194c379 | |
parent | 447d53631b7560eace6016b2711a75533339cbcc [diff] |
audio policy: fix HAL stream activity ref counting commit f05fc906 did not take into account the specificities of duplicated outputs causing a crash when accessing the profile (null for duplicated outputs) and not counting activity resulting from duplicated output activity. Also account for HW source activity when connected to an output mix. Bug: 70319466 Test: CTS tests for AudioTrack and AudioRecord Test: audio smoke tests Change-Id: Id0364170794302e42212a90e1b40e28c1e7193fe