Searched refs:pcm_handle (Results 1 – 5 of 5) sorted by relevance
18 snd_pcm_t *pcm_handle; in alsa_pcm_open() local236 snd_pcm_close(pcm_handle); in alsa_pcm_open()243 snd_pcm_t *pcm_handle; in alsa_pcm_drain() local246 if (!pcm_handle) { in alsa_pcm_drain()256 snd_pcm_t *pcm_handle; in alsa_pcm_close() local259 if (!pcm_handle) { in alsa_pcm_close()269 snd_pcm_t *pcm_handle; in alsa_pcm_read() local274 if (!pcm_handle) { in alsa_pcm_read()293 snd_pcm_t *pcm_handle; in alsa_pcm_write() local298 if (!pcm_handle) { in alsa_pcm_write()[all …]
104 snd_pcm_t *pcm_handle = NULL; in AOS_OpenDevice() local118 …status = snd_pcm_open(&pcm_handle, "hw", iscapture ? SND_PCM_STREAM_CAPTURE : SND_PCM_STREAM_PLAYB… in AOS_OpenDevice()123 this->hidden->pcm_handle = pcm_handle; in AOS_OpenDevice()173 snd_pcm_set_params(this->hidden->pcm_handle, in AOS_OpenDevice()180 snd_pcm_prepare(this->hidden->pcm_handle); in AOS_OpenDevice()210 snd_pcm_start(this->hidden->pcm_handle); in ALSA_PlayDevice()213 int status = snd_pcm_writei(this->hidden->pcm_handle, sample_buf, frames_left); in ALSA_PlayDevice()236 if (this->hidden->pcm_handle) { in AOS_CloseDevice()243 snd_pcm_drop(this->hidden->pcm_handle); in AOS_CloseDevice()244 snd_pcm_close(this->hidden->pcm_handle); in AOS_CloseDevice()
21 snd_pcm_t *pcm_handle; member
411 status = ALSA_snd_pcm_readi(this->hidden->pcm_handle, in ALSA_CaptureFromDevice()443 ALSA_snd_pcm_reset(this->hidden->pcm_handle); in ALSA_FlushCapture()449 if (this->hidden->pcm_handle) { in ALSA_CloseDevice()456 ALSA_snd_pcm_close(this->hidden->pcm_handle); in ALSA_CloseDevice()522 snd_pcm_t *pcm_handle = NULL; in ALSA_OpenDevice() local544 status = ALSA_snd_pcm_open(&pcm_handle, in ALSA_OpenDevice()554 this->hidden->pcm_handle = pcm_handle; in ALSA_OpenDevice()558 status = ALSA_snd_pcm_hw_params_any(pcm_handle, hwparams); in ALSA_OpenDevice()630 chmap = ALSA_snd_pcm_get_chmap(pcm_handle); in ALSA_OpenDevice()687 status = ALSA_snd_pcm_sw_params(pcm_handle, swparams); in ALSA_OpenDevice()[all …]
36 snd_pcm_t *pcm_handle; member
Completed in 9 milliseconds