commit | 56aa82b2b865d81b9bd7ae532d21224637edef59 | [log] [tgz] |
---|---|---|
author | wendy lin <wendy.lin@mediatek.com> | Wed Dec 02 15:19:55 2020 +0800 |
committer | Lin Lili <lili.lin@mediatek.com> | Thu Dec 03 03:28:45 2020 +0000 |
tree | 76c039da490ffa44bfba5e302e3575b7c00a8aac | |
parent | d19faf826761db767dc8ee967149fe8939416850 [diff] |
Fix exception when Release Audio Input Effect Effect is removed while user switch audio output device. When updating output device for record thread, exception happens. Solution is to get record thread lock before update output devices. Holding thread lock will keep effect not being removed while updating devices. Bug: 174714069 Test: Audio Stress Test Change-Id: If831b2322bb02784b0a278abd9ba14b5150ff80b