/system/media/audio_route/ |
audio_route.c | 63 struct mixer_path { struct 77 struct mixer_path *mixer_path; member in struct:audio_route 82 struct mixer_path *path; 127 static void path_print(struct audio_route *ar, struct mixer_path *path) 156 if (ar->mixer_path[i].name) 157 free(ar->mixer_path[i].name); 158 if (ar->mixer_path[i].setting) { 159 if (ar->mixer_path[i].setting->value.ptr) 160 free(ar->mixer_path[i].setting->value.ptr) [all...] |
/hardware/qcom/audio/hal/ |
voice.c | 56 char *mixer_path) 62 strlcpy(mixer_path, "sidetone-hac-handset", MIXER_PATH_MAX_LENGTH); 65 strlcpy(mixer_path, "sidetone-handset", MIXER_PATH_MAX_LENGTH); 68 strlcpy(mixer_path, "sidetone-headphones", MIXER_PATH_MAX_LENGTH); 81 char mixer_path[MIXER_PATH_MAX_LENGTH]; local 88 is_sidetone_dev = voice_is_sidetone_device(out_snd_device, mixer_path); 97 __func__, mixer_path); 100 audio_route_apply_and_update_path(adev->audio_route, mixer_path); 102 audio_route_reset_and_update_path(adev->audio_route, mixer_path);
|
platform_api.h | 36 void platform_add_backend_name(void *platform, char *mixer_path, 69 const char *mixer_path,
|
audio_hw.c | 538 char mixer_path[50]; local 550 strcpy(mixer_path, use_case_table[usecase->id]); 551 platform_add_backend_name(adev->platform, mixer_path, snd_device); 552 ALOGD("%s: usecase(%d) apply and update mixer path: %s", __func__, usecase->id, mixer_path); 553 audio_route_apply_and_update_path(adev->audio_route, mixer_path); 563 char mixer_path[50]; local 573 strcpy(mixer_path, use_case_table[usecase->id]); 574 platform_add_backend_name(adev->platform, mixer_path, snd_device); 575 ALOGD("%s: usecase(%d) reset and update mixer path: %s", __func__, usecase->id, mixer_path); 576 audio_route_reset_and_update_path(adev->audio_route, mixer_path); [all...] |
/hardware/qcom/audio/hal/msm8960/ |
platform.c | 387 void platform_add_backend_name(void *platform __unused, char *mixer_path, 391 strcat(mixer_path, " bt-sco"); 393 strcat(mixer_path, " bt-sco"); 395 strcat(mixer_path, " hdmi"); 397 strcat(mixer_path, " speaker-and-hdmi"); 400 strcat(mixer_path, " bt-sco-wb"); 432 const char *mixer_path __unused, 1057 const char *mixer_path; local [all...] |
/hardware/qcom/audio/hal/msm8916/ |
platform.c | 103 char *mixer_path; member in struct:operator_specific_device 595 ret = device->mixer_path; 2198 const char *mixer_path; local [all...] |
/hardware/qcom/audio/hal/msm8974/ |
platform.c | 92 char *mixer_path; member in struct:operator_specific_device 618 ret = device->mixer_path; 2784 const char *mixer_path; local [all...] |
/device/google/dragon/audio/hal/ |
audio_hw.c | 320 char mixer_path[PATH_MAX]; local 342 sprintf(mixer_path, "/system/etc/mixer_paths_%d.xml", card); 343 audio_route = audio_route_init(card, mixer_path); [all...] |
/device/htc/flounder/audio/hal/ |
audio_hw.c | 352 char mixer_path[PATH_MAX]; local 374 sprintf(mixer_path, "/system/etc/mixer_paths_%d.xml", card); 375 audio_route = audio_route_init(card, mixer_path); [all...] |