Searched refs:mixer_path (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/audio/hal/ |
D | voice.c | 56 char *mixer_path) in voice_is_sidetone_device() argument 62 strlcpy(mixer_path, "sidetone-hac-handset", MIXER_PATH_MAX_LENGTH); in voice_is_sidetone_device() 65 strlcpy(mixer_path, "sidetone-handset", MIXER_PATH_MAX_LENGTH); in voice_is_sidetone_device() 68 strlcpy(mixer_path, "sidetone-headphones", MIXER_PATH_MAX_LENGTH); in voice_is_sidetone_device() 81 char mixer_path[MIXER_PATH_MAX_LENGTH]; in voice_set_sidetone() local 88 is_sidetone_dev = voice_is_sidetone_device(out_snd_device, mixer_path); in voice_set_sidetone() 97 __func__, mixer_path); in voice_set_sidetone() 100 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in voice_set_sidetone() 102 audio_route_reset_and_update_path(adev->audio_route, mixer_path); in voice_set_sidetone()
|
D | platform_api.h | 23 void platform_add_backend_name(void *platform, char *mixer_path, 56 const char *mixer_path,
|
D | audio_hw.c | 259 char mixer_path[50]; in enable_audio_route() local 271 strcpy(mixer_path, use_case_table[usecase->id]); in enable_audio_route() 272 platform_add_backend_name(adev->platform, mixer_path, snd_device); in enable_audio_route() 273 ALOGD("%s: apply and update mixer path: %s", __func__, mixer_path); in enable_audio_route() 274 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in enable_audio_route() 284 char mixer_path[50]; in disable_audio_route() local 294 strcpy(mixer_path, use_case_table[usecase->id]); in disable_audio_route() 295 platform_add_backend_name(adev->platform, mixer_path, snd_device); in disable_audio_route() 296 ALOGD("%s: reset and update mixer path: %s", __func__, mixer_path); in disable_audio_route() 297 audio_route_reset_and_update_path(adev->audio_route, mixer_path); in disable_audio_route()
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 387 void platform_add_backend_name(void *platform __unused, char *mixer_path, in platform_add_backend_name() argument 391 strcat(mixer_path, " bt-sco"); in platform_add_backend_name() 393 strcat(mixer_path, " bt-sco"); in platform_add_backend_name() 395 strcat(mixer_path, " hdmi"); in platform_add_backend_name() 397 strcat(mixer_path, " speaker-and-hdmi"); in platform_add_backend_name() 400 strcat(mixer_path, " bt-sco-wb"); in platform_add_backend_name() 432 const char *mixer_path __unused, in platform_add_operator_specific_device() 1057 const char *mixer_path; in platform_swap_lr_channels() local 1059 mixer_path = platform_get_snd_device_name(SND_DEVICE_OUT_SPEAKER_REVERSE); in platform_swap_lr_channels() 1060 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in platform_swap_lr_channels() [all …]
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 87 char *mixer_path; member 558 ret = device->mixer_path; in get_operator_specific_device_mixer_path() 1146 free(device_item->mixer_path); in platform_deinit() 1179 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument 1192 strcat(mixer_path, " "); in platform_add_backend_name() 1193 strcat(mixer_path, suffix); in platform_add_backend_name() 1280 const char *mixer_path, in platform_add_operator_specific_device() argument 1294 device->mixer_path = strdup(mixer_path); in platform_add_operator_specific_device() 1300 platform_get_snd_device_name(snd_device), operator, mixer_path, acdb_id); in platform_add_operator_specific_device() 2501 const char *mixer_path; in platform_swap_lr_channels() local [all …]
|