DO NOT MERGE - improve audio effect framwework thread safety am: bc7f347ff5
am: 068881e79c

Change-Id: I03e5bd37b916c2b3390a20f59f69de8cf970b1db