Home
last modified time | relevance | path

Searched refs:sframes (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_plugin.c194 snd_pcm_sframes_t sframes; in snd_pcm_plugin_rewind() local
201 sframes = frames; in snd_pcm_plugin_rewind()
202 sframes = snd_pcm_rewind(plugin->gen.slave, sframes); in snd_pcm_plugin_rewind()
203 if (sframes < 0) in snd_pcm_plugin_rewind()
204 return sframes; in snd_pcm_plugin_rewind()
205 snd_pcm_mmap_appl_backward(pcm, (snd_pcm_uframes_t) sframes); in snd_pcm_plugin_rewind()
206 return (snd_pcm_sframes_t) sframes; in snd_pcm_plugin_rewind()
218 snd_pcm_sframes_t sframes; in snd_pcm_plugin_forward() local
225 sframes = frames; in snd_pcm_plugin_forward()
226 sframes = INTERNAL(snd_pcm_forward)(plugin->gen.slave, sframes); in snd_pcm_plugin_forward()
[all …]
/third_party/pulseaudio/src/tests/
Dalsa-time-test.c196 snd_pcm_sframes_t sframes; in main() local
199 sframes = snd_pcm_writei(pcm, samples, fillrate); in main()
201 sframes = snd_pcm_readi(pcm, samples, fillrate); in main()
202 assert(sframes == fillrate); in main()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-sink.c713 snd_pcm_sframes_t sframes; in mmap_write() local
760 if (PA_UNLIKELY((sframes = snd_pcm_mmap_commit(u->pcm_handle, offset, frames)) < 0)) { in mmap_write()
762 if ((int) sframes == -EAGAIN) in mmap_write()
765 if ((r = try_recover(u, "snd_pcm_mmap_commit", (int) sframes)) == 0) in mmap_write()
Dalsa-source.c669 snd_pcm_sframes_t sframes; in mmap_read() local
715 if (PA_UNLIKELY((sframes = snd_pcm_mmap_commit(u->pcm_handle, offset, frames)) < 0)) { in mmap_read()
718 if ((r = try_recover(u, "snd_pcm_mmap_commit", (int) sframes)) == 0) in mmap_read()