diff options
author | Eric Laurent <elaurent@google.com> | 2015-05-08 10:50:03 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-05-08 13:23:51 -0700 |
commit | f6870aefc5e31d4220f3778c4e79ff34a61f48ad (patch) | |
tree | 6943c86c7143ffc113d91b8ed7a34d75ab183434 /services/audioflinger/AudioMixer.cpp | |
parent | 70c75d8c15707d5eade38fe3e622f8500c29556b (diff) | |
download | frameworks_av-f6870aefc5e31d4220f3778c4e79ff34a61f48ad.zip frameworks_av-f6870aefc5e31d4220f3778c4e79ff34a61f48ad.tar.gz frameworks_av-f6870aefc5e31d4220f3778c4e79ff34a61f48ad.tar.bz2 |
audio flinger: fix fuzz test crash
Clear output stream pointer in duplicating thread
when the main output to which it is attached is closed.
Also do not forward master mute and volume commands to
duplicating threads as this is not applicable.
Also fix logic in AudioFlinger::primaryPlaybackThread_l()
that could accidentally return a duplicating thread.
This never happens because the primary thread is always
first in the list.
Bug: 20731946.
Change-Id: Ic8869699836920351b23d09544c50a258d3fb585
Diffstat (limited to 'services/audioflinger/AudioMixer.cpp')
0 files changed, 0 insertions, 0 deletions