Lines Matching refs:frames
439 static snd_pcm_sframes_t snd_pcm_dshare_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
444 if (frames > (snd_pcm_uframes_t)avail)
445 frames = avail;
446 snd_pcm_mmap_appl_backward(pcm, frames);
447 return frames;
455 static snd_pcm_sframes_t snd_pcm_dshare_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
460 if (frames > (snd_pcm_uframes_t)avail)
461 frames = avail;
462 snd_pcm_mmap_appl_forward(pcm, frames);
463 return frames;
866 period_size INT # in frames
869 buffer_size INT # in frames
882 - no: minimal latency with minimal frames dropped at startup. But
885 - roundup: It is guaranteed that all frames will be played at
886 startup. But the latency will increase upto period-1 frames.
888 period and frames can be written from application. But on startup
889 upto period-1 frames will be dropped.