Searched refs:pcm_rx (Results 1 – 3 of 3) sorted by relevance
127 if (session->pcm_rx) { in voice_stop_usecase()128 pcm_close(session->pcm_rx); in voice_stop_usecase()129 session->pcm_rx = NULL; in voice_stop_usecase()201 session->pcm_rx = pcm_open(adev->snd_card, in voice_start_usecase()204 if (session->pcm_rx && !pcm_is_ready(session->pcm_rx)) { in voice_start_usecase()205 ALOGE("%s: %s", __func__, pcm_get_error(session->pcm_rx)); in voice_start_usecase()214 pcm_start(session->pcm_rx); in voice_start_usecase()520 adev->voice.session[i].pcm_rx = NULL; in voice_init()
51 struct pcm *pcm_rx; member
102 struct pcm *pcm_rx; member355 handle.pcm_rx = handle.pcm_tx = NULL; in spkr_calibrate()356 handle.pcm_rx = pcm_open(adev->snd_card, in spkr_calibrate()359 if (handle.pcm_rx && !pcm_is_ready(handle.pcm_rx)) { in spkr_calibrate()360 ALOGE("%s: %s", __func__, pcm_get_error(handle.pcm_rx)); in spkr_calibrate()395 if (pcm_start(handle.pcm_rx) < 0) { in spkr_calibrate()467 if (handle.pcm_rx) in spkr_calibrate()468 pcm_close(handle.pcm_rx); in spkr_calibrate()469 handle.pcm_rx = NULL; in spkr_calibrate()