Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/audio_extn/
Dspkr_protection.c103 struct pcm *pcm_tx; member
354 handle.pcm_rx = handle.pcm_tx = NULL; in spkr_calibrate()
386 handle.pcm_tx = pcm_open(adev->snd_card, in spkr_calibrate()
389 if (handle.pcm_tx && !pcm_is_ready(handle.pcm_tx)) { in spkr_calibrate()
390 ALOGE("%s: %s", __func__, pcm_get_error(handle.pcm_tx)); in spkr_calibrate()
399 if (pcm_start(handle.pcm_tx) < 0) { in spkr_calibrate()
470 if (handle.pcm_tx) in spkr_calibrate()
471 pcm_close(handle.pcm_tx); in spkr_calibrate()
472 handle.pcm_tx = NULL; in spkr_calibrate()
830 handle.pcm_tx = NULL; in audio_extn_spkr_prot_start_processing()
[all …]
/hardware/qcom/audio/hal/
Dvoice.c138 if (session->pcm_tx) { in voice_stop_usecase()
139 pcm_close(session->pcm_tx); in voice_stop_usecase()
140 session->pcm_tx = NULL; in voice_stop_usecase()
197 session->pcm_tx = pcm_open(adev->snd_card, in voice_start_usecase()
200 if (session->pcm_tx && !pcm_is_ready(session->pcm_tx)) { in voice_start_usecase()
201 ALOGE("%s: %s", __func__, pcm_get_error(session->pcm_tx)); in voice_start_usecase()
217 pcm_start(session->pcm_tx); in voice_start_usecase()
521 adev->voice.session[i].pcm_tx = NULL; in voice_init()
Dvoice.h52 struct pcm *pcm_tx; member
/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.c198 if (pcm_ioctl(session->pcm_tx, SNDRV_VOICE_IOCTL_LCH, &lch_mode) < 0) { in update_calls()
246 if (pcm_ioctl(session->pcm_tx, SNDRV_VOICE_IOCTL_LCH, &lch_mode) < 0) { in update_calls()
268 if (pcm_ioctl(session->pcm_tx, SNDRV_VOICE_IOCTL_LCH, &lch_mode) < 0) { in update_calls()