Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/audio_extn/
Dspkr_protection.c303 struct audio_usecase *uc_info_rx = NULL, *uc_info_tx = NULL; in spkr_calibrate() local
364 uc_info_tx = (struct audio_usecase *) in spkr_calibrate()
366 if (!uc_info_tx) { in spkr_calibrate()
370 uc_info_tx->id = USECASE_AUDIO_SPKR_CALIB_TX; in spkr_calibrate()
371 uc_info_tx->type = PCM_CAPTURE; in spkr_calibrate()
372 uc_info_tx->in_snd_device = SND_DEVICE_IN_CAPTURE_VI_FEEDBACK; in spkr_calibrate()
373 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
376 list_add_tail(&adev->usecase_list, &uc_info_tx->list); in spkr_calibrate()
378 enable_audio_route(adev, uc_info_tx); in spkr_calibrate()
380 pcm_dev_tx_id = platform_get_pcm_device_id(uc_info_tx->id, PCM_CAPTURE); in spkr_calibrate()
[all …]