DO NOT MERGE - improve audio effect framwework thread safety am: 84c392104e  -s ours am: 5d5f9cd28a am: 10f61954ba  -s ours
am: bb4c9408ec

Change-Id: Ifbee9dc70a27ff2f4e2d4641dca40914619fb185