Home
last modified time | relevance | path

Searched refs:snd_pcm_state_t (Results 1 – 25 of 28) sorted by relevance

12

/third_party/alsa-lib/include/sound/uapi/
Dasound.h308 typedef int __bitwise snd_pcm_state_t; typedef
309 #define SNDRV_PCM_STATE_OPEN ((snd_pcm_state_t) 0) /* stream is open */
310 #define SNDRV_PCM_STATE_SETUP ((snd_pcm_state_t) 1) /* stream has a setup */
311 #define SNDRV_PCM_STATE_PREPARED ((snd_pcm_state_t) 2) /* stream is ready to start */
312 #define SNDRV_PCM_STATE_RUNNING ((snd_pcm_state_t) 3) /* stream is running */
313 #define SNDRV_PCM_STATE_XRUN ((snd_pcm_state_t) 4) /* stream reached an xrun */
314 #define SNDRV_PCM_STATE_DRAINING ((snd_pcm_state_t) 5) /* stream is draining */
315 #define SNDRV_PCM_STATE_PAUSED ((snd_pcm_state_t) 6) /* stream is paused */
316 #define SNDRV_PCM_STATE_SUSPENDED ((snd_pcm_state_t) 7) /* hardware is suspended */
317 #define SNDRV_PCM_STATE_DISCONNECTED ((snd_pcm_state_t) 8) /* hardware is disconnected */
[all …]
/third_party/alsa-utils/axfer/
Dxfer-libasound-irq-rw.c16 snd_pcm_state_t status, unsigned int *frame_count,
108 snd_pcm_state_t status, in r_process_frames_blocking()
156 snd_pcm_state_t status, in r_process_frames_nonblocking()
252 snd_pcm_state_t status, in w_process_frames_blocking()
316 snd_pcm_state_t status, in w_process_frames_nonblocking()
415 snd_pcm_state_t status; in irq_rw_process_frames()
Dxfer-libasound-irq-mmap.c190 snd_pcm_state_t s; in irq_mmap_r_process_frames()
244 snd_pcm_state_t s; in irq_mmap_w_process_frames()
Dxfer-libasound-timer-mmap.c250 snd_pcm_state_t s; in timer_mmap_r_process_frames()
380 snd_pcm_state_t s; in timer_mmap_w_process_frames()
Dxfer-libasound.c795 snd_pcm_state_t s = snd_pcm_state(state->handle); in xfer_libasound_pause()
822 snd_pcm_state_t pcm_state; in xfer_libasound_post_process()
/third_party/alsa-lib/include/
Dpcm_ioplug.h113 snd_pcm_state_t state; /**< current PCM state; read-only */
235 int snd_pcm_ioplug_set_state(snd_pcm_ioplug_t *ioplug, snd_pcm_state_t state);
Dlocal.h131 #define snd_pcm_state_t sndrv_pcm_state_t macro
155 #undef snd_pcm_state_t
Dpcm.h313 } snd_pcm_state_t; typedef
538 snd_pcm_state_t snd_pcm_state(snd_pcm_t *pcm);
1032 snd_pcm_state_t snd_pcm_status_get_state(const snd_pcm_status_t *obj);
1085 const char *snd_pcm_state_name(const snd_pcm_state_t state);
/third_party/alsa-lib/src/pcm/
Dpcm_null.c42 snd_pcm_state_t state;
107 static snd_pcm_state_t snd_pcm_null_state(snd_pcm_t *pcm) in snd_pcm_null_state()
Dpcm_dsnoop.c182 snd_pcm_state_t state; in snd_pcm_dsnoop_status()
206 static snd_pcm_state_t snd_pcm_dsnoop_state(snd_pcm_t *pcm) in snd_pcm_dsnoop_state()
210 snd_pcm_state_t state; in snd_pcm_dsnoop_state()
Dpcm_dshare.c227 static snd_pcm_state_t snd_pcm_dshare_state(snd_pcm_t *pcm);
255 static snd_pcm_state_t snd_pcm_dshare_state(snd_pcm_t *pcm) in snd_pcm_dshare_state()
259 snd_pcm_state_t state; in snd_pcm_dshare_state()
Dpcm_generic.h129 snd_pcm_state_t snd_pcm_generic_state(snd_pcm_t *pcm);
Dpcm_ioplug.c144 static snd_pcm_state_t snd_pcm_ioplug_state(snd_pcm_t *pcm) in snd_pcm_ioplug_state()
582 static const snd_pcm_state_t states[2] = { in snd_pcm_ioplug_pause()
1241 int snd_pcm_ioplug_set_state(snd_pcm_ioplug_t *ioplug, snd_pcm_state_t state) in snd_pcm_ioplug_set_state()
Dpcm_share.c109 snd_pcm_state_t state;
119 static void _snd_pcm_share_stop(snd_pcm_t *pcm, snd_pcm_state_t state);
722 static snd_pcm_state_t snd_pcm_share_state(snd_pcm_t *pcm) in snd_pcm_share_state()
1124 static void _snd_pcm_share_stop(snd_pcm_t *pcm, snd_pcm_state_t state) in _snd_pcm_share_stop()
Dpcm_direct.h152 snd_pcm_state_t state;
Dpcm_generic.c133 snd_pcm_state_t snd_pcm_generic_state(snd_pcm_t *pcm) in snd_pcm_generic_state()
Dpcm.c674 static int pcm_state_to_error(snd_pcm_state_t state) in pcm_state_to_error()
699 snd_pcm_state_t state; in bad_pcm_state()
1068 snd_pcm_state_t snd_pcm_state(snd_pcm_t *pcm) in snd_pcm_state()
1070 snd_pcm_state_t state; in snd_pcm_state()
2250 const char *snd_pcm_state_name(const snd_pcm_state_t state) in snd_pcm_state_name()
2353 …snd_output_printf(out, " state : %s\n", snd_pcm_state_name((snd_pcm_state_t) status->state)… in snd_pcm_status_dump()
6822 snd_pcm_state_t snd_pcm_status_get_state(const snd_pcm_status_t *obj) in snd_pcm_status_get_state()
7415 snd_pcm_state_t state; in snd_pcm_read_areas()
7489 snd_pcm_state_t state; in snd_pcm_write_areas()
Dpcm_dmix.c452 static snd_pcm_state_t snd_pcm_dmix_state(snd_pcm_t *pcm) in snd_pcm_dmix_state()
456 snd_pcm_state_t state; in snd_pcm_dmix_state()
Dpcm_hw.c120 ((snd_pcm_state_t) (hw)->mmap_status->state)
600 static snd_pcm_state_t snd_pcm_hw_state(snd_pcm_t *pcm) in snd_pcm_hw_state()
607 return (snd_pcm_state_t) hw->mmap_status->state; in snd_pcm_hw_state()
Dpcm_local.h165 snd_pcm_state_t (*state)(snd_pcm_t *pcm); /* locked */
446 static inline snd_pcm_state_t __snd_pcm_state(snd_pcm_t *pcm) in __snd_pcm_state()
Dpcm_shm.c403 static snd_pcm_state_t snd_pcm_shm_state(snd_pcm_t *pcm) in snd_pcm_shm_state()
Dpcm_multi.c398 static snd_pcm_state_t snd_pcm_multi_state(snd_pcm_t *pcm) in snd_pcm_multi_state()
/third_party/pulseaudio/src/tests/
Dalsa-time-test.c162 snd_pcm_state_t state; in main()
/third_party/alsa-lib/test/
Dpcm.c469 snd_pcm_state_t state; in async_direct_callback()
602 snd_pcm_state_t state; in direct_loop()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.c1068 snd_pcm_state_t state; in pa_alsa_recover_from_poll()

12