Lines Matching defs:hw_avail
207 snd_pcm_sframes_t hw_avail;
227 hw_avail = buffer_size - avail;
258 if (hw_avail <= 0) {
262 if ((snd_pcm_uframes_t)hw_avail < missing)
263 missing = hw_avail;
928 snd_pcm_uframes_t hw_avail = snd_pcm_mmap_playback_hw_avail(pcm);
930 if (hw_avail == 0) {
946 while (xfer < hw_avail) {
947 snd_pcm_uframes_t frames = hw_avail - xfer;
959 snd_pcm_mmap_appl_forward(pcm, hw_avail);
962 res = snd_pcm_mmap_commit(spcm, snd_pcm_mmap_offset(spcm), hw_avail);
967 assert((snd_pcm_uframes_t)res == hw_avail);