Lines Matching full:while
57 while (formats[from].bits < *nbits_ && formats[from].bits != 0) in select_format()
61 while (to > 0) { in select_format()
80 while (from && formats[from-1].bits == bits_next) in select_format()
102 …) < 0) {lsx_fail_errno(ft, SOX_EPERM, #x " error: %s", snd_strerror(err)); goto error;} } while (0)
173 else while ((err = snd_pcm_resume(pcm)) == -EAGAIN) { in recover()
194 } while (n <= 0); in read_()
200 while (i--) *buf++ = SOX_SIGNED_8BIT_TO_SAMPLE(*buf1++,); in read_()
205 while (i--) *buf++ = SOX_UNSIGNED_8BIT_TO_SAMPLE(*buf1++,); in read_()
210 if (ft->encoding.reverse_bytes) while (i--) in read_()
213 while (i--) *buf++ = SOX_SIGNED_16BIT_TO_SAMPLE(*buf1++,); in read_()
218 if (ft->encoding.reverse_bytes) while (i--) in read_()
221 while (i--) *buf++ = SOX_UNSIGNED_16BIT_TO_SAMPLE(*buf1++,); in read_()
226 while (i--) *buf++ = SOX_SIGNED_24BIT_TO_SAMPLE(*buf1++,); in read_()
231 while (i--) { in read_()
242 while (i--) *buf++ = SOX_UNSIGNED_24BIT_TO_SAMPLE(*buf1++,); in read_()
247 while (i--) *buf++ = SOX_SIGNED_32BIT_TO_SAMPLE(*buf1++,); in read_()
252 while (i--) *buf++ = SOX_UNSIGNED_32BIT_TO_SAMPLE(*buf1++,); in read_()
274 while (i--) *buf1++ = SOX_SAMPLE_TO_SIGNED_8BIT(*buf++, ft->clips); in write_()
279 while (i--) *buf1++ = SOX_SAMPLE_TO_UNSIGNED_8BIT(*buf++, ft->clips); in write_()
284 if (ft->encoding.reverse_bytes) while (i--) in write_()
287 while (i--) *buf1++ = SOX_SAMPLE_TO_SIGNED_16BIT(*buf++, ft->clips); in write_()
292 if (ft->encoding.reverse_bytes) while (i--) in write_()
295 while (i--) *buf1++ = SOX_SAMPLE_TO_UNSIGNED_16BIT(*buf++, ft->clips); in write_()
300 while (i--) *buf1++ = SOX_SAMPLE_TO_SIGNED_24BIT(*buf++, ft->clips); in write_()
305 while (i--) { in write_()
315 while (i--) *buf1++ = SOX_SAMPLE_TO_UNSIGNED_24BIT(*buf++, ft->clips); in write_()
320 while (i--) *buf1++ = SOX_SAMPLE_TO_SIGNED_32BIT(*buf++, ft->clips); in write_()
325 while (i--) *buf1++ = SOX_SAMPLE_TO_UNSIGNED_32BIT(*buf++, ft->clips); in write_()
339 } while (actual < 0); in write_()