• Home
  • Raw
  • Download

Lines Matching refs:buf_count

422 		loop->xrun_buf_pcount = loop->play->buf_count;  in xrun_profile0()
423 loop->xrun_buf_ccount = loop->capt->buf_count; in xrun_profile0()
488 return lhandle->buf_size - lhandle->buf_count; in buf_avail()
497 if (count < loop->capt->buf_count) in buf_remove()
498 loop->capt->buf_count -= count; in buf_remove()
500 loop->capt->buf_count = 0; in buf_remove()
511 count = capt->buf_count;
515 ppos = (play->buf_pos + play->buf_count) % play->buf_size;
529 play->buf_count += count1;
530 capt->buf_count -= count1;
547 count = capt->buf_count; in buf_add_src()
581 capt->buf_count -= loop->src_data.input_frames_used; in buf_add_src()
585 pos1 = (play->buf_pos + play->buf_count) % play->buf_size; in buf_add_src()
606 play->buf_count += count1; in buf_add_src()
615 (long)loop->src_out_frames, play->buf_count); in buf_add_src()
637 loop->play->buf_count += count; in buf_add()
729 lhandle->buf_count += r; in readit()
754 while (avail > 0 && lhandle->buf_count > 0) { in writeit()
755 r = lhandle->buf_count; in writeit()
780 lhandle->buf_count -= r; in writeit()
805 if (count > loop->play->buf_count) in remove_samples()
806 count = loop->play->buf_count; in remove_samples()
807 if (count > loop->capt->buf_count) in remove_samples()
808 count = loop->capt->buf_count; in remove_samples()
809 capt->buf_count -= count; in remove_samples()
812 play->buf_count -= count; in remove_samples()
816 if (count > capt->buf_count) in remove_samples()
817 count = capt->buf_count; in remove_samples()
818 capt->buf_count -= count; in remove_samples()
820 if (count > play->buf_count) in remove_samples()
821 count = play->buf_count; in remove_samples()
822 play->buf_count -= count; in remove_samples()
887 cdelay += capt->buf_count; in xrun_sync()
888 pdelay += play->buf_count; in xrun_sync()
914 (long)capt->buf_count, (long)play->buf_count); in xrun_sync()
931 if (diff > play->buf_count) in xrun_sync()
932 diff = play->buf_count; in xrun_sync()
946 if (diff > capt->buf_count) in xrun_sync()
947 diff = capt->buf_count; in xrun_sync()
964 "sync: xrun_pending, silence filling %li / buf_count=%li\n", (long)diff, play->buf_count); in xrun_sync()
965 if (fill > delay1 && play->buf_count < diff) { in xrun_sync()
966 diff = diff - play->buf_count; in xrun_sync()
976 play->buf_count += diff; in xrun_sync()
1002 "sync: playback short, silence filling %li / buf_count=%li\n", (long)delay1, play->buf_count); in xrun_sync()
1011 play->buf_count += delay1; in xrun_sync()
1024 cdelay += capt->buf_count; in xrun_sync()
1025 pdelay += play->buf_count; in xrun_sync()
1475 lhandle->buf_count = 0; in lhandle_start()
1666 loop->play->buf_count = count; in pcmjob_start()
1761 delay += loop->play->buf_count; in get_queued_playback_samples()
1776 delay += loop->capt->buf_count; in get_queued_capture_samples()
1869 …"%s: delay error: %s / %li / %li\n", play->id, snd_strerror(err), play->buf_size, play->buf_count); in pcmjob_pollfds_handle()
1871 …tf(loop->output, "%s: delay %li / %li / %li\n", play->id, pdelay, play->buf_size, play->buf_count); in pcmjob_pollfds_handle()
1873 …"%s: delay error: %s / %li / %li\n", capt->id, snd_strerror(err), capt->buf_size, capt->buf_count); in pcmjob_pollfds_handle()
1875 …tf(loop->output, "%s: delay %li / %li / %li\n", capt->id, cdelay, capt->buf_size, capt->buf_count); in pcmjob_pollfds_handle()
2034 … end delay error: %s / %li / %li\n", play->id, snd_strerror(err), play->buf_size, play->buf_count); in pcmjob_pollfds_handle()
2036 …oop->output, "%s: end delay %li / %li / %li\n", play->id, pdelay, play->buf_size, play->buf_count); in pcmjob_pollfds_handle()
2038 … end delay error: %s / %li / %li\n", capt->id, snd_strerror(err), capt->buf_size, capt->buf_count); in pcmjob_pollfds_handle()
2040 …oop->output, "%s: end delay %li / %li / %li\n", capt->id, cdelay, capt->buf_size, capt->buf_count); in pcmjob_pollfds_handle()
2072 …= %li, buf_over = %li\n", lhandle->buf_size, lhandle->buf_pos, lhandle->buf_count, lhandle->buf_ov… in show_handle()