Revert "Revert "AudioManager work""

This reverts commit 1427cc79b745c23ce8e1183bae355eab48adb84a.