DO NOT MERGE - improve audio effect framwework thread safety am: b378b73dd7
am: 993c09b27b

Change-Id: Ib46c5c88aa112e819fe320857b2136f14f84db1a