Loading hal/audio_hw.c +5 −5 Original line number Diff line number Diff line Loading @@ -446,7 +446,7 @@ int enable_audio_route(struct audio_device *adev, strcpy(mixer_path, use_case_table[usecase->id]); platform_add_backend_name(adev->platform, mixer_path, snd_device); ALOGV("%s: apply and update mixer path: %s", __func__, mixer_path); ALOGD("%s: usecase(%d) apply and update mixer path: %s", __func__, usecase->id, mixer_path); audio_route_apply_and_update_path(adev->audio_route, mixer_path); ALOGV("%s: exit", __func__); Loading @@ -469,7 +469,7 @@ int disable_audio_route(struct audio_device *adev, snd_device = usecase->out_snd_device; strcpy(mixer_path, use_case_table[usecase->id]); platform_add_backend_name(adev->platform, mixer_path, snd_device); ALOGV("%s: reset and update mixer path: %s", __func__, mixer_path); ALOGD("%s: usecase(%d) reset and update mixer path: %s", __func__, usecase->id, mixer_path); audio_route_reset_and_update_path(adev->audio_route, mixer_path); ALOGV("%s: exit", __func__); Loading Loading @@ -528,7 +528,7 @@ int enable_snd_device(struct audio_device *adev, goto on_error; } ALOGV("%s: snd_device(%d: %s)", __func__, snd_device, device_name); ALOGD("%s: snd_device(%d: %s)", __func__, snd_device, device_name); audio_route_apply_and_update_path(adev->audio_route, device_name); } on_success: Loading Loading @@ -572,7 +572,7 @@ int disable_snd_device(struct audio_device *adev, return -EINVAL; } ALOGV("%s: snd_device(%d: %s)", __func__, snd_device, device_name); ALOGD("%s: snd_device(%d: %s)", __func__, snd_device, device_name); audio_route_reset_and_update_path(adev->audio_route, device_name); } audio_extn_sound_trigger_update_device_status(snd_device, Loading Loading @@ -1671,7 +1671,7 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) bool select_new_device = false; int status = 0; ALOGV("%s: enter: usecase(%d: %s) kvpairs: %s", ALOGD("%s: enter: usecase(%d: %s) kvpairs: %s", __func__, out->usecase, use_case_table[out->usecase], kvpairs); parms = str_parms_create_str(kvpairs); ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); Loading Loading
hal/audio_hw.c +5 −5 Original line number Diff line number Diff line Loading @@ -446,7 +446,7 @@ int enable_audio_route(struct audio_device *adev, strcpy(mixer_path, use_case_table[usecase->id]); platform_add_backend_name(adev->platform, mixer_path, snd_device); ALOGV("%s: apply and update mixer path: %s", __func__, mixer_path); ALOGD("%s: usecase(%d) apply and update mixer path: %s", __func__, usecase->id, mixer_path); audio_route_apply_and_update_path(adev->audio_route, mixer_path); ALOGV("%s: exit", __func__); Loading @@ -469,7 +469,7 @@ int disable_audio_route(struct audio_device *adev, snd_device = usecase->out_snd_device; strcpy(mixer_path, use_case_table[usecase->id]); platform_add_backend_name(adev->platform, mixer_path, snd_device); ALOGV("%s: reset and update mixer path: %s", __func__, mixer_path); ALOGD("%s: usecase(%d) reset and update mixer path: %s", __func__, usecase->id, mixer_path); audio_route_reset_and_update_path(adev->audio_route, mixer_path); ALOGV("%s: exit", __func__); Loading Loading @@ -528,7 +528,7 @@ int enable_snd_device(struct audio_device *adev, goto on_error; } ALOGV("%s: snd_device(%d: %s)", __func__, snd_device, device_name); ALOGD("%s: snd_device(%d: %s)", __func__, snd_device, device_name); audio_route_apply_and_update_path(adev->audio_route, device_name); } on_success: Loading Loading @@ -572,7 +572,7 @@ int disable_snd_device(struct audio_device *adev, return -EINVAL; } ALOGV("%s: snd_device(%d: %s)", __func__, snd_device, device_name); ALOGD("%s: snd_device(%d: %s)", __func__, snd_device, device_name); audio_route_reset_and_update_path(adev->audio_route, device_name); } audio_extn_sound_trigger_update_device_status(snd_device, Loading Loading @@ -1671,7 +1671,7 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) bool select_new_device = false; int status = 0; ALOGV("%s: enter: usecase(%d: %s) kvpairs: %s", ALOGD("%s: enter: usecase(%d: %s) kvpairs: %s", __func__, out->usecase, use_case_table[out->usecase], kvpairs); parms = str_parms_create_str(kvpairs); ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); Loading