Searched refs:usecase (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 159 struct audio_usecase *usecase, in enable_audio_route() argument 165 if (usecase == NULL) in enable_audio_route() 168 ALOGV("%s: enter: usecase(%d)", __func__, usecase->id); in enable_audio_route() 170 if (usecase->type == PCM_CAPTURE) in enable_audio_route() 171 snd_device = usecase->in_snd_device; in enable_audio_route() 173 snd_device = usecase->out_snd_device; in enable_audio_route() 175 strcpy(mixer_path, use_case_table[usecase->id]); in enable_audio_route() 187 struct audio_usecase *usecase, in disable_audio_route() argument 193 if (usecase == NULL) in disable_audio_route() 196 ALOGV("%s: enter: usecase(%d)", __func__, usecase->id); in disable_audio_route() [all …]
|
D | platform_api.h | 24 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type); 40 int64_t platform_render_latency(audio_usecase_t usecase);
|
D | audio_hw.h | 111 audio_usecase_t usecase; member 144 audio_usecase_t usecase; member
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | msm8960_use_cases.h | 300 const char *value, const char *usecase); 301 static int get_usecase_type(snd_use_case_mgr_t *uc_mgr, const char *usecase);
|
D | alsa_ucm.c | 1282 static int get_usecase_type(snd_use_case_mgr_t *uc_mgr, const char *usecase) in get_usecase_type() argument 1288 if (!strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], usecase, in get_usecase_type() 1289 (strlen(usecase)+1))) { in get_usecase_type() 1309 const char *device, const char *usecase, int enable) in set_controls_of_device_for_usecase() argument 1316 ALOGV("set_device_for_ident(): %s %s", device, usecase); in set_controls_of_device_for_usecase() 1323 if (usecase != NULL) { in set_controls_of_device_for_usecase() 1324 strlcpy(use_case, usecase, sizeof(use_case)); in set_controls_of_device_for_usecase() 1327 get_usecase_type(uc_mgr, usecase))) < 0) { in set_controls_of_device_for_usecase() 1343 get_usecase_type(uc_mgr, usecase), uc_index); in set_controls_of_device_for_usecase() 1607 const char *value, const char *usecase) in snd_use_case_set_case() argument [all …]
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 373 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id() argument 377 device_id = pcm_device_table[usecase][0]; in platform_get_pcm_device_id() 379 device_id = pcm_device_table[usecase][1]; in platform_get_pcm_device_id() 848 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency() argument 850 switch (usecase) { in platform_render_latency()
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 390 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id() argument 394 device_id = pcm_device_table[usecase][0]; in platform_get_pcm_device_id() 396 device_id = pcm_device_table[usecase][1]; in platform_get_pcm_device_id() 888 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency() argument 890 switch (usecase) { in platform_render_latency()
|