Home
last modified time | relevance | path

Searched refs:hfp_pcm_tx (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dhfp.c44 struct pcm *hfp_pcm_tx; member
54 .hfp_pcm_tx = NULL,
182 hfpmod.hfp_pcm_tx = pcm_open(adev->snd_card, in start_hfp()
185 if (hfpmod.hfp_pcm_tx && !pcm_is_ready(hfpmod.hfp_pcm_tx)) { in start_hfp()
186 ALOGE("%s: %s", __func__, pcm_get_error(hfpmod.hfp_pcm_tx)); in start_hfp()
193 pcm_start(hfpmod.hfp_pcm_tx); in start_hfp()
228 if (hfpmod.hfp_pcm_tx) { in stop_hfp()
229 pcm_close(hfpmod.hfp_pcm_tx); in stop_hfp()
230 hfpmod.hfp_pcm_tx = NULL; in stop_hfp()
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dhfp.c63 struct pcm *hfp_pcm_tx; member
73 .hfp_pcm_tx = NULL,
199 hfpmod.hfp_pcm_tx = pcm_open(adev->snd_card, in start_hfp()
202 if (hfpmod.hfp_pcm_tx && !pcm_is_ready(hfpmod.hfp_pcm_tx)) { in start_hfp()
203 ALOGE("%s: %s", __func__, pcm_get_error(hfpmod.hfp_pcm_tx)); in start_hfp()
222 if (pcm_start(hfpmod.hfp_pcm_tx) < 0) { in start_hfp()
261 if (hfpmod.hfp_pcm_tx) { in stop_hfp()
262 pcm_close(hfpmod.hfp_pcm_tx); in stop_hfp()
263 hfpmod.hfp_pcm_tx = NULL; in stop_hfp()