option_info_t default_option = { AVSYS_AUDIO_PATH_OPTION_NONE, AVSYS_AUDIO_PATH_OPTION_NONE };
int index = 0;
int err = AVSYS_STATE_SUCCESS;
+#ifndef MURPHY_SUPPORT
avsys_audio_conf conf = { 0, };
+#endif
/* Check root user */
err = avsys_check_root_privilege();
case AVSYS_AUDIO_PLAYBACK_GAIN_FMRADIO:
/* TODO: Reset & Codec disable on suspend script */
-#ifdef MURPHY_SUPPORT
- control->p_path_status.playback = PS_PATH_NONE;
-#else
+#ifndef MURPHY_SUPPORT
if (AVSYS_FAIL(avsys_audio_ascn_single_set(ASCN_CODEC_DISABLE_ON_SUSPEND))) {
avsys_error_r(AVAUDIO, "[%s] failed to set codec_disable_on_suspend\n", __func__);
}
#ifndef MURPHY_SUPPORT
if (close_aif_later == true) {
__avsys_close_aif();
+ }
#endif
return err;
case AVSYS_AUDIO_PLAYBACK_GAIN_FMRADIO:
control->path_fixed_pid[PATH_FIXED_TYPE_FMRADIO] = current_pid;
+#ifndef MURPHY_SUPPORT
SET_AIF(AIF_RADIO_PLAYBACK);
+#endif
break;
}
}