Home
last modified time | relevance | path

Searched refs:snd_pcm_state (Results 1 - 16 of 16) sorted by relevance

/third_party/alsa-lib/test/
H A Dpcm.c331 if (snd_pcm_state(handle) == SND_PCM_STATE_XRUN || in write_and_poll_loop()
332 snd_pcm_state(handle) == SND_PCM_STATE_SUSPENDED) { in write_and_poll_loop()
333 err = snd_pcm_state(handle) == SND_PCM_STATE_XRUN ? -EPIPE : -ESTRPIPE; in write_and_poll_loop()
359 if (snd_pcm_state(handle) == SND_PCM_STATE_RUNNING) in write_and_poll_loop()
369 if (snd_pcm_state(handle) == SND_PCM_STATE_XRUN || in write_and_poll_loop()
370 snd_pcm_state(handle) == SND_PCM_STATE_SUSPENDED) { in write_and_poll_loop()
371 err = snd_pcm_state(handle) == SND_PCM_STATE_XRUN ? -EPIPE : -ESTRPIPE; in write_and_poll_loop()
449 if (snd_pcm_state(handle) == SND_PCM_STATE_PREPARED) { in async_loop()
479 state = snd_pcm_state(handle); in async_direct_callback()
612 state = snd_pcm_state(handl in direct_loop()
[all...]
/third_party/alsa-utils/axfer/
H A Dxfer-libasound.c795 snd_pcm_state_t s = snd_pcm_state(state->handle); in xfer_libasound_pause()
828 pcm_state = snd_pcm_state(state->handle); in xfer_libasound_post_process()
H A Dxfer-libasound-irq-rw.c418 status = snd_pcm_state(state->handle); in irq_rw_process_frames()
/third_party/alsa-lib/src/pcm/
H A Dpcm_generic.c136 return snd_pcm_state(generic->slave); in snd_pcm_generic_state()
H A Dpcm_dshare.c367 switch (snd_pcm_state(dshare->spcm)) { in __snd_pcm_dshare_drain()
407 switch (snd_pcm_state(dshare->spcm)) { in __snd_pcm_dshare_drain()
H A Dpcm_direct.c592 state = snd_pcm_state(direct->spcm);
670 switch (snd_pcm_state(direct->spcm)) {
775 snd_pcm_state(dmix->spcm) == SND_PCM_STATE_SETUP) {
1121 switch (snd_pcm_state(dmix->spcm)) {
H A Dpcm_dmix.c591 switch (snd_pcm_state(dmix->spcm)) { in __snd_pcm_dmix_drain()
631 switch (snd_pcm_state(dmix->spcm)) { in __snd_pcm_dmix_drain()
H A Dpcm_dsnoop.c185 state = snd_pcm_state(dsnoop->spcm); in snd_pcm_dsnoop_status()
H A Dpcm_rate.c1192 return snd_pcm_state(rate->gen.slave); in snd_pcm_rate_state()
1204 if (snd_pcm_state(rate->gen.slave) != SND_PCM_STATE_PREPARED) in snd_pcm_rate_start()
H A Dpcm_multi.c412 return snd_pcm_state(slave); in snd_pcm_multi_state()
H A Dpcm.c151 using #snd_pcm_state() call. There are these states:
180 the actual state via #snd_pcm_state() call. It is recommended to use
716 state = snd_pcm_state(pcm); in bad_pcm_state()
978 // assert(snd_pcm_state(pcm) == SND_PCM_STATE_SETUP || in snd_pcm_hw_free()
979 // snd_pcm_state(pcm) == SND_PCM_STATE_PREPARED); in snd_pcm_hw_free()
1083 snd_pcm_state_t snd_pcm_state(snd_pcm_t *pcm) in snd_pcm_state() function
6999 * \brief Get state from a PCM status container (see #snd_pcm_state)
/third_party/alsa-lib/aserver/
H A Daserver.c440 ctrl->result = snd_pcm_state(pcm); in pcm_shm_cmd()
/third_party/alsa-lib/include/
H A Dpcm.h555 snd_pcm_state_t snd_pcm_state(snd_pcm_t *pcm);
/third_party/alsa-utils/aplay/
H A Daplay.c1613 if (snd_pcm_state(handle) == SND_PCM_STATE_SUSPENDED)
1625 if (snd_pcm_state(handle) == SND_PCM_STATE_SUSPENDED)
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-util.c1087 state = snd_pcm_state(pcm); in pa_alsa_recover_from_poll()
/third_party/alsa-utils/alsaloop/
H A Dpcmjob.c693 if (snd_pcm_state(lhandle->handle) == SND_PCM_STATE_DRAINING) { in readit()

Completed in 43 milliseconds