Lines Matching defs:bufs
750 } bufs[2] = {
760 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
761 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
764 bufs[0].len = dead << hwshift;
770 if (bufs[i].len) {
771 void *p = advance (oss->pcm_buf, bufs[i].add << hwshift);
772 nread = read (oss->fd, p, bufs[i].len);
777 "alignment %d\n", nread, bufs[i].add << hwshift,
781 hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift,
785 if (bufs[i].len - nread) {
795 bufs[i].len, p