Searched refs:uc_info_rx (Results 1 – 1 of 1) sorted by relevance
303 struct audio_usecase *uc_info_rx = NULL, *uc_info_tx = NULL; in spkr_calibrate() local333 uc_info_rx = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in spkr_calibrate()334 if (!uc_info_rx) { in spkr_calibrate()337 uc_info_rx->id = USECASE_AUDIO_SPKR_CALIB_RX; in spkr_calibrate()338 uc_info_rx->type = PCM_PLAYBACK; in spkr_calibrate()339 uc_info_rx->in_snd_device = SND_DEVICE_NONE; in spkr_calibrate()340 uc_info_rx->stream.out = adev->primary_output; in spkr_calibrate()341 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER_PROTECTED; in spkr_calibrate()343 list_add_tail(&adev->usecase_list, &uc_info_rx->list); in spkr_calibrate()345 enable_audio_route(adev, uc_info_rx); in spkr_calibrate()[all …]