Lines Matching refs:snd_pcm_sframes_t
82 snd_pcm_sframes_t period_time;
83 snd_pcm_sframes_t buffer_time;
124 snd_pcm_sframes_t avail;
141 snd_pcm_sframes_t frames, safety_frames;
142 snd_pcm_sframes_t min_frames, max_frames;
207 snd_pcm_sframes_t hw_avail;
209 snd_pcm_sframes_t ready_missing;
231 snd_pcm_sframes_t slave_hw_avail = buffer_size - slave_avail;
232 snd_pcm_sframes_t safety_missing = slave_hw_avail - slave->safety_threshold;
234 snd_pcm_sframes_t err;
235 snd_pcm_sframes_t frames = slave_avail - avail;
343 /* snd_pcm_sframes_t avail = */ snd_pcm_avail_update(slave->pcm);
382 snd_pcm_sframes_t avail_min;
425 /* snd_pcm_sframes_t avail = */ snd_pcm_avail_update(spcm);
435 snd_pcm_sframes_t avail_min;
694 snd_pcm_sframes_t sd = 0, d = 0;
750 static int _snd_pcm_share_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
769 static int snd_pcm_share_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
780 static snd_pcm_sframes_t snd_pcm_share_avail_update(snd_pcm_t *pcm)
784 snd_pcm_sframes_t avail;
814 static snd_pcm_sframes_t _snd_pcm_share_mmap_commit(snd_pcm_t *pcm,
821 snd_pcm_sframes_t ret;
822 snd_pcm_sframes_t frames;
826 if (frames > (snd_pcm_sframes_t)pcm->buffer_size)
828 else if (frames < -(snd_pcm_sframes_t)pcm->buffer_size)
841 snd_pcm_sframes_t err;
857 static snd_pcm_sframes_t snd_pcm_share_mmap_commit(snd_pcm_t *pcm,
863 snd_pcm_sframes_t ret;
935 snd_pcm_sframes_t sd;
961 snd_pcm_sframes_t res;
1006 static snd_pcm_sframes_t _snd_pcm_share_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
1010 snd_pcm_sframes_t n;
1032 snd_pcm_sframes_t ret = snd_pcm_rewind(slave->pcm, frames);
1042 static snd_pcm_sframes_t snd_pcm_share_rewindable(snd_pcm_t *pcm)
1046 snd_pcm_sframes_t ret;
1053 static snd_pcm_sframes_t snd_pcm_share_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
1057 snd_pcm_sframes_t ret;
1064 static snd_pcm_sframes_t _snd_pcm_share_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
1068 snd_pcm_sframes_t n;
1089 snd_pcm_sframes_t ret = INTERNAL(snd_pcm_forward)(slave->pcm, frames);
1099 static snd_pcm_sframes_t snd_pcm_share_forwardable(snd_pcm_t *pcm)
1103 snd_pcm_sframes_t ret;
1110 static snd_pcm_sframes_t snd_pcm_share_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
1114 snd_pcm_sframes_t ret;
1140 snd_pcm_sframes_t delay;