/hardware/qcom/audio/hal/ |
D | audio_hw.c | 213 struct audio_usecase *usecase) in enable_audio_route() argument 218 if (usecase == NULL) in enable_audio_route() 221 ALOGV("%s: enter: usecase(%d)", __func__, usecase->id); in enable_audio_route() 223 if (usecase->type == PCM_CAPTURE) in enable_audio_route() 224 snd_device = usecase->in_snd_device; in enable_audio_route() 226 snd_device = usecase->out_snd_device; in enable_audio_route() 228 strcpy(mixer_path, use_case_table[usecase->id]); in enable_audio_route() 238 struct audio_usecase *usecase) in disable_audio_route() argument 243 if (usecase == NULL) in disable_audio_route() 246 ALOGV("%s: enter: usecase(%d)", __func__, usecase->id); in disable_audio_route() [all …]
|
D | platform_api.h | 25 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type); 51 int64_t platform_render_latency(audio_usecase_t usecase); 64 int platform_get_usecase_index(const char * usecase); 65 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
|
D | voice.c | 228 in->usecase = USECASE_INCALL_REC_UPLINK; in voice_check_and_set_incall_rec_usecase() 232 in->usecase = USECASE_INCALL_REC_DOWNLINK; in voice_check_and_set_incall_rec_usecase() 236 in->usecase = USECASE_INCALL_REC_UPLINK_AND_DOWNLINK; in voice_check_and_set_incall_rec_usecase() 248 ALOGV("%s: Update usecase to %d",__func__, in->usecase); in voice_check_and_set_incall_rec_usecase() 458 struct audio_usecase *usecase; in voice_update_devices_for_all_voice_usecases() local 461 usecase = node_to_item(node, struct audio_usecase, list); in voice_update_devices_for_all_voice_usecases() 462 if (usecase->type == VOICE_CALL) { in voice_update_devices_for_all_voice_usecases() 464 use_case_table[usecase->id]); in voice_update_devices_for_all_voice_usecases() 465 usecase->stream.out = adev->current_call_output; in voice_update_devices_for_all_voice_usecases() 466 select_devices(adev, usecase->id); in voice_update_devices_for_all_voice_usecases()
|
D | audio_hw.h | 133 audio_usecase_t usecase; member 166 audio_usecase_t usecase; member 241 struct audio_usecase *usecase); 250 struct audio_usecase *usecase);
|
/hardware/qcom/audio/hal/audio_extn/ |
D | ext_speaker.c | 124 struct audio_usecase *usecase; in audio_extn_extspk_update() local 126 usecase = node_to_item(node, struct audio_usecase, list); in audio_extn_extspk_update() 127 if (usecase->devices & AUDIO_DEVICE_OUT_EARPIECE) { in audio_extn_extspk_update() 128 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in audio_extn_extspk_update() 132 if (usecase->devices & AUDIO_DEVICE_OUT_SPEAKER) { in audio_extn_extspk_update() 133 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in audio_extn_extspk_update()
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 398 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id() argument 402 device_id = pcm_device_table[usecase][0]; in platform_get_pcm_device_id() 404 device_id = pcm_device_table[usecase][1]; in platform_get_pcm_device_id() 955 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency() argument 957 switch (usecase) { in platform_render_latency() 986 int platform_get_usecase_index(const char * usecase __unused) in platform_get_usecase_index() 991 int platform_set_usecase_pcm_id(audio_usecase_t usecase __unused, int32_t type __unused, in platform_set_usecase_pcm_id()
|
/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 | 838 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id() argument 842 device_id = pcm_device_table[usecase][0]; in platform_get_pcm_device_id() 844 device_id = pcm_device_table[usecase][1]; in platform_get_pcm_device_id() 1689 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency() argument 1691 switch (usecase) { in platform_render_latency() 1720 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id) in platform_set_usecase_pcm_id() argument 1723 if ((usecase <= USECASE_INVALID) || (usecase >= AUDIO_USECASE_MAX)) { in platform_set_usecase_pcm_id() 1724 ALOGE("%s: invalid usecase case idx %d", __func__, usecase); in platform_set_usecase_pcm_id() 1733 pcm_device_table[usecase][type] = pcm_id; in platform_set_usecase_pcm_id()
|
/hardware/qcom/audio/hal/voice_extn/ |
D | voice_extn.c | 558 out->usecase = USECASE_INCALL_MUSIC_UPLINK; in voice_extn_check_and_set_incall_music_usecase() 560 out->usecase = USECASE_INCALL_MUSIC_UPLINK2; in voice_extn_check_and_set_incall_music_usecase()
|