Loading hal/audio_extn/audio_extn.c +3 −3 Original line number Diff line number Diff line Loading @@ -4038,7 +4038,7 @@ void fm_feature_init(bool is_feature_enabled) void audio_extn_fm_get_parameters(struct str_parms *query, struct str_parms *reply) { if(audio_extn_fm_power_opt_enabled) { ALOGD("%s: Enter", __func__); ALOGV("%s: Enter", __func__); fm_get_parameters(query, reply); } } Loading @@ -4047,7 +4047,7 @@ void audio_extn_fm_set_parameters(struct audio_device *adev, struct str_parms *parms) { if(audio_extn_fm_power_opt_enabled) { ALOGD("%s: Enter", __func__); ALOGV("%s: Enter", __func__); fm_set_parameters(adev, parms); } } Loading Loading @@ -5626,7 +5626,7 @@ void audio_extn_enable_hifi_filter(struct audio_device *adev, bool value) return; } else { mixer_ctl_set_value(ctl, 0, value); ALOGD("%s: mixer_value set %d", __func__, value); ALOGV("%s: mixer_value set %d", __func__, value); } return; } Loading hal/audio_extn/device_utils.c +0 −1 Original line number Diff line number Diff line Loading @@ -503,7 +503,6 @@ int update_device_list(struct listnode *head, audio_devices_t type, goto done; if (type == AUDIO_DEVICE_NONE) { ALOGE("%s: Invalid device: %#x", __func__, type); ret = -EINVAL; goto done; } Loading hal/audio_extn/hfp.c +1 −1 Original line number Diff line number Diff line Loading @@ -545,7 +545,7 @@ void hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) float vol; char value[32]={0}; ALOGD("%s: enter", __func__); ALOGV("%s: enter", __func__); ret = str_parms_get_str(parms, AUDIO_PARAMETER_HFP_ENABLE, value, sizeof(value)); Loading hal/audio_extn/soundtrigger.c +1 −3 Original line number Diff line number Diff line Loading @@ -600,10 +600,8 @@ void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info uc_info->in_snd_device < SND_DEVICE_IN_END)) { if (is_same_as_st_device(uc_info->in_snd_device)) update_device_list(&ev_info.device_info.devices, ST_DEVICE_HANDSET_MIC, "", true); } else { ALOGE("%s: invalid input device 0x%x, for event %d", __func__, uc_info->in_snd_device, event); } raise_event = platform_sound_trigger_usecase_needs_event(uc_info->id); ALOGD("%s: uc_info->id %d of type %d for Event %d, with Raise=%d", __func__, uc_info->id, uc_info->type, event, raise_event); Loading hal/audio_extn/spkr_protection.c +1 −3 Original line number Diff line number Diff line Loading @@ -2187,10 +2187,8 @@ int fbsp_get_parameters(struct str_parms *query, int err = 0; char value[MAX_STR_SIZE] = {0}; if (!handle.spkr_prot_enable) { ALOGD("%s: Speaker protection disabled", __func__); if (!handle.spkr_prot_enable) return -EINVAL; } err = str_parms_get_str(query, AUDIO_PARAMETER_KEY_FBSP_GET_SPKR_CAL, value, sizeof(value)); Loading Loading
hal/audio_extn/audio_extn.c +3 −3 Original line number Diff line number Diff line Loading @@ -4038,7 +4038,7 @@ void fm_feature_init(bool is_feature_enabled) void audio_extn_fm_get_parameters(struct str_parms *query, struct str_parms *reply) { if(audio_extn_fm_power_opt_enabled) { ALOGD("%s: Enter", __func__); ALOGV("%s: Enter", __func__); fm_get_parameters(query, reply); } } Loading @@ -4047,7 +4047,7 @@ void audio_extn_fm_set_parameters(struct audio_device *adev, struct str_parms *parms) { if(audio_extn_fm_power_opt_enabled) { ALOGD("%s: Enter", __func__); ALOGV("%s: Enter", __func__); fm_set_parameters(adev, parms); } } Loading Loading @@ -5626,7 +5626,7 @@ void audio_extn_enable_hifi_filter(struct audio_device *adev, bool value) return; } else { mixer_ctl_set_value(ctl, 0, value); ALOGD("%s: mixer_value set %d", __func__, value); ALOGV("%s: mixer_value set %d", __func__, value); } return; } Loading
hal/audio_extn/device_utils.c +0 −1 Original line number Diff line number Diff line Loading @@ -503,7 +503,6 @@ int update_device_list(struct listnode *head, audio_devices_t type, goto done; if (type == AUDIO_DEVICE_NONE) { ALOGE("%s: Invalid device: %#x", __func__, type); ret = -EINVAL; goto done; } Loading
hal/audio_extn/hfp.c +1 −1 Original line number Diff line number Diff line Loading @@ -545,7 +545,7 @@ void hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) float vol; char value[32]={0}; ALOGD("%s: enter", __func__); ALOGV("%s: enter", __func__); ret = str_parms_get_str(parms, AUDIO_PARAMETER_HFP_ENABLE, value, sizeof(value)); Loading
hal/audio_extn/soundtrigger.c +1 −3 Original line number Diff line number Diff line Loading @@ -600,10 +600,8 @@ void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info uc_info->in_snd_device < SND_DEVICE_IN_END)) { if (is_same_as_st_device(uc_info->in_snd_device)) update_device_list(&ev_info.device_info.devices, ST_DEVICE_HANDSET_MIC, "", true); } else { ALOGE("%s: invalid input device 0x%x, for event %d", __func__, uc_info->in_snd_device, event); } raise_event = platform_sound_trigger_usecase_needs_event(uc_info->id); ALOGD("%s: uc_info->id %d of type %d for Event %d, with Raise=%d", __func__, uc_info->id, uc_info->type, event, raise_event); Loading
hal/audio_extn/spkr_protection.c +1 −3 Original line number Diff line number Diff line Loading @@ -2187,10 +2187,8 @@ int fbsp_get_parameters(struct str_parms *query, int err = 0; char value[MAX_STR_SIZE] = {0}; if (!handle.spkr_prot_enable) { ALOGD("%s: Speaker protection disabled", __func__); if (!handle.spkr_prot_enable) return -EINVAL; } err = str_parms_get_str(query, AUDIO_PARAMETER_KEY_FBSP_GET_SPKR_CAL, value, sizeof(value)); Loading