Lines Matching defs:buffer
180 snd_pcm_sframes_t (*writei)(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size); /* need own locking */
182 snd_pcm_sframes_t (*readi)(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size); /* need own locking */
238 unsigned int mmap_rw: 1; /* use always mmapped buffer */
240 * use the mmaped buffer of the slave
399 snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
400 snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size);
496 * This is how far ahead the hardware position in the ring buffer is,
498 * number of frames in the empty part of the ring buffer.
521 * This is how far ahead the hardware position in the ring buffer is
523 * number of frames in the filled part of the ring buffer.
559 * ie. the filled part of the ring buffer
569 * ie. the empty part of the ring buffer.
643 static inline snd_pcm_sframes_t _snd_pcm_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
648 return pcm->fast_ops->writei(pcm->fast_op_arg, buffer, size);
659 static inline snd_pcm_sframes_t _snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size)
664 return pcm->fast_ops->readi(pcm->fast_op_arg, buffer, size);