Home
last modified time | relevance | path

Searched refs:mixer_path (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/audio/hal/
Dvoice.c57 char *mixer_path) in voice_is_sidetone_device() argument
63 strlcpy(mixer_path, "sidetone-hac-handset", MIXER_PATH_MAX_LENGTH); in voice_is_sidetone_device()
66 strlcpy(mixer_path, "sidetone-handset", MIXER_PATH_MAX_LENGTH); in voice_is_sidetone_device()
70 strlcpy(mixer_path, "sidetone-headphones", MIXER_PATH_MAX_LENGTH); in voice_is_sidetone_device()
75 mixer_path[0] = '\0'; in voice_is_sidetone_device()
89 char mixer_path[MIXER_PATH_MAX_LENGTH]; in voice_set_sidetone() local
96 if (voice_is_sidetone_device(out_snd_device, mixer_path)) in voice_set_sidetone()
97 platform_set_sidetone(adev, out_snd_device, enable, mixer_path); in voice_set_sidetone()
Dplatform_api.h66 void platform_add_backend_name(void *platform, char *mixer_path,
112 const char *mixer_path,
Daudio_hw.c652 char mixer_path[MIXER_PATH_MAX_LENGTH]; in enable_audio_route() local
697 ALOGW_IF(strlcpy(mixer_path, use_case_table[usecase->id], sizeof(mixer_path)) in enable_audio_route()
698 >= sizeof(mixer_path), "%s: truncation on mixer path", __func__); in enable_audio_route()
700 platform_add_backend_name(adev->platform, mixer_path, snd_device); in enable_audio_route()
702 ALOGD("%s: usecase(%d) apply and update mixer path: %s", __func__, usecase->id, mixer_path); in enable_audio_route()
703 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in enable_audio_route()
713 char mixer_path[MIXER_PATH_MAX_LENGTH]; in disable_audio_route() local
725 ALOGW_IF(strlcpy(mixer_path, use_case_table[usecase->id], sizeof(mixer_path)) in disable_audio_route()
726 >= sizeof(mixer_path), "%s: truncation on mixer path", __func__); in disable_audio_route()
728 platform_add_backend_name(adev->platform, mixer_path, snd_device); in disable_audio_route()
[all …]
/hardware/qcom/audio/hal/msm8960/
Dplatform.c401 void platform_add_backend_name(void *platform __unused, char *mixer_path, in platform_add_backend_name() argument
405 strcat(mixer_path, " bt-sco"); in platform_add_backend_name()
407 strcat(mixer_path, " bt-sco"); in platform_add_backend_name()
409 strcat(mixer_path, " hdmi"); in platform_add_backend_name()
411 strcat(mixer_path, " speaker-and-hdmi"); in platform_add_backend_name()
414 strcat(mixer_path, " bt-sco-wb"); in platform_add_backend_name()
465 const char *mixer_path __unused, in platform_add_operator_specific_device()
1151 const char *mixer_path; in platform_set_swap_mixer() local
1161 mixer_path = platform_get_snd_device_name(SND_DEVICE_OUT_SPEAKER_REVERSE); in platform_set_swap_mixer()
1162 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in platform_set_swap_mixer()
[all …]
/hardware/qcom/audio/hal/msm8916/
Dplatform.c131 char *mixer_path; member
684 ret = device->mixer_path; in get_operator_specific_device_mixer_path()
1261 free(device_item->mixer_path); in platform_deinit()
1342 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument
1356 strlcat(mixer_path, " ", MIXER_PATH_MAX_LENGTH); in platform_add_backend_name()
1357 strlcat(mixer_path, suffix, MIXER_PATH_MAX_LENGTH); in platform_add_backend_name()
1494 const char *mixer_path, in platform_add_operator_specific_device() argument
1508 device->mixer_path = strdup(mixer_path); in platform_add_operator_specific_device()
1514 platform_get_snd_device_name(snd_device), operator, mixer_path, acdb_id); in platform_add_operator_specific_device()
2687 const char *mixer_path; local
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c100 char *mixer_path; member
890 ret = device->mixer_path; in get_operator_specific_device_mixer_path()
2015 free(device_item->mixer_path); in platform_deinit()
2096 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument
2109 strcat(mixer_path, " "); in platform_add_backend_name()
2110 strcat(mixer_path, suffix); in platform_add_backend_name()
2259 const char *mixer_path, in platform_add_operator_specific_device() argument
2273 device->mixer_path = strdup(mixer_path); in platform_add_operator_specific_device()
2279 platform_get_snd_device_name(snd_device), operator, mixer_path, acdb_id); in platform_add_operator_specific_device()
3962 const char *mixer_path; in platform_set_swap_mixer() local
[all …]