Cleanup: use conversion methods provided by AudioEffect.

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