Cleanup: use conversion methods provided by AudioEffect.

Change-Id: Iad7d63b6faaefcc645ca42b179a370744122b2d2
Merge remote-tracking branch 'upstream/cm-10.2' into HEAD