Searched refs:pcm_capture (Results 1 – 2 of 2) sorted by relevance
26 snd_pcm_t *pcm_capture; member125 if (set_hw_params(lws_get_vhost(wsi), &vhd->pcm_capture, in callback_raw_test()141 if (vhd && vhd->pcm_capture) { in callback_raw_test()142 snd_pcm_close(vhd->pcm_capture); in callback_raw_test()143 vhd->pcm_capture = NULL; in callback_raw_test()157 n = snd_pcm_readi(vhd->pcm_capture, &vhd->simplebuf[vhd->wpos], in callback_raw_test()
38 snd_pcm_t *pcm_capture; member253 if (set_hw_params(lws_get_vhost(wsi), &vhd->pcm_capture, in callback_audio()279 if (vhd->pcm_capture) { in callback_audio()280 snd_pcm_drop(vhd->pcm_capture); in callback_audio()281 snd_pcm_close(vhd->pcm_capture); in callback_audio()282 vhd->pcm_capture = NULL; in callback_audio()356 n = snd_pcm_readi(vhd->pcm_capture, temp, LWS_ARRAY_SIZE(temp)); in callback_audio()