Lines Matching refs:snd_pcm_sframes_t
564 static inline snd_pcm_sframes_t snd_pcm_rate_move_applptr(snd_pcm_t *pcm, snd_pcm_sframes_t frames)
568 snd_pcm_sframes_t diff, ndiff;
579 if (diff < -(snd_pcm_sframes_t)(slave->boundary / 2)) {
581 } else if (diff > (snd_pcm_sframes_t)(slave->boundary / 2)) {
603 if (diff < -(snd_pcm_sframes_t)(slave->boundary / 2)) {
605 } else if (diff > (snd_pcm_sframes_t)(slave->boundary / 2)) {
643 static int snd_pcm_rate_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
692 static snd_pcm_sframes_t snd_pcm_rate_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
695 snd_pcm_sframes_t n = snd_pcm_mmap_hw_avail(pcm);
708 static snd_pcm_sframes_t snd_pcm_rate_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
711 snd_pcm_sframes_t n = snd_pcm_mmap_avail(pcm);
734 snd_pcm_sframes_t result;
748 if (result < (snd_pcm_sframes_t)slave_size) {
782 if (result < (snd_pcm_sframes_t)cont) {
812 if (result < (snd_pcm_sframes_t)cont) {
847 snd_pcm_sframes_t result;
859 if (result < (snd_pcm_sframes_t)rate->gen.slave->period_size) {
882 if (result < (snd_pcm_sframes_t)cont) {
912 if (result < (snd_pcm_sframes_t)cont) {
948 snd_pcm_sframes_t slave_size;
975 static snd_pcm_sframes_t snd_pcm_rate_mmap_commit(snd_pcm_t *pcm,
995 static snd_pcm_sframes_t snd_pcm_rate_avail_update(snd_pcm_t *pcm)
1021 return (snd_pcm_sframes_t)xfer;
1029 return (snd_pcm_sframes_t)xfer;
1038 snd_pcm_sframes_t avail1;
1147 snd_pcm_sframes_t err;