Lines Matching refs:uc_info
57 struct audio_usecase *uc_info;
77 uc_info = get_usecase_from_list(adev, usecase_id);
78 if (uc_info == NULL) {
85 disable_audio_route(adev, uc_info);
88 disable_snd_device(adev, uc_info->out_snd_device);
89 disable_snd_device(adev, uc_info->in_snd_device);
91 list_remove(&uc_info->list);
92 free(uc_info);
101 struct audio_usecase *uc_info;
109 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase));
110 uc_info->id = usecase_id;
111 uc_info->type = VOICE_CALL;
112 uc_info->stream.out = adev->current_call_output ;
113 uc_info->devices = adev->current_call_output ->devices;
114 uc_info->in_snd_device = SND_DEVICE_NONE;
115 uc_info->out_snd_device = SND_DEVICE_NONE;
117 list_add_tail(&adev->usecase_list, &uc_info->list);
121 pcm_dev_rx_id = platform_get_pcm_device_id(uc_info->id, PCM_PLAYBACK);
122 pcm_dev_tx_id = platform_get_pcm_device_id(uc_info->id, PCM_CAPTURE);
126 __func__, pcm_dev_rx_id, pcm_dev_tx_id, uc_info->id);