add play amr and stop amr functions