Searched refs:pcm_rx (Results 1 – 4 of 4) sorted by relevance
128 if (session->pcm_rx) { in voice_stop_usecase()129 pcm_close(session->pcm_rx); in voice_stop_usecase()130 session->pcm_rx = NULL; in voice_stop_usecase()203 session->pcm_rx = pcm_open(adev->snd_card, in voice_start_usecase()206 if (session->pcm_rx && !pcm_is_ready(session->pcm_rx)) { in voice_start_usecase()207 ALOGE("%s: %s", __func__, pcm_get_error(session->pcm_rx)); in voice_start_usecase()219 ret = pcm_start(session->pcm_rx); in voice_start_usecase()556 adev->voice.session[i].pcm_rx = NULL; in voice_init()
51 struct pcm *pcm_rx; member
47 struct pcm *pcm_rx; member501 handle.pcm_rx = pcm_open(adev->snd_card, pcm_dev_rx_id, in audio_extn_cirrus_calibration_thread()504 if (handle.pcm_rx && !pcm_is_ready(handle.pcm_rx)) { in audio_extn_cirrus_calibration_thread()506 pcm_get_error(handle.pcm_rx)); in audio_extn_cirrus_calibration_thread()511 if (pcm_start(handle.pcm_rx) < 0) { in audio_extn_cirrus_calibration_thread()513 pcm_get_error(handle.pcm_rx)); in audio_extn_cirrus_calibration_thread()528 if (handle.pcm_rx) { in audio_extn_cirrus_calibration_thread()530 pcm_close(handle.pcm_rx); in audio_extn_cirrus_calibration_thread()531 handle.pcm_rx = NULL; in audio_extn_cirrus_calibration_thread()
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()