Home
last modified time | relevance | path

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

/external/tinyalsa/
Dtinyhostless.c223 struct pcm *pcm_play =NULL, *pcm_cap=NULL; in play_sample() local
249 pcm_play = pcm_open(card, p_device, PCM_OUT, &config); in play_sample()
250 if (!pcm_play || !pcm_is_ready(pcm_play)) { in play_sample()
252 p_device, pcm_get_error(pcm_play)); in play_sample()
264 if (pcm_play != NULL ) pcm_close(pcm_play); in play_sample()
282 pcm_close(pcm_play); in play_sample()
294 if (pcm_play != NULL) pcm_start(pcm_play); in play_sample()
308 if (pcm_write(pcm_play, buffer, size)) { in play_sample()
310 p_device, pcm_get_error(pcm_play)); in play_sample()
326 if (pcm_play != NULL) in play_sample()
[all …]