• Home
  • Raw
  • Download

Lines Matching refs:readcount

174 		sf_count_t readcount ;  in alac_close()  local
209 while ((readcount = fread (ubuf.ucbuf, 1, sizeof (ubuf.ucbuf), plac->enctmp)) > 0) in alac_close()
210 psf_fwrite (ubuf.ucbuf, 1, readcount, psf) ; in alac_close()
463 int k, readcount ; in alac_read_s() local
473 readcount = (plac->frames_this_block - plac->partial_block_frames) * plac->channels ; in alac_read_s()
474 readcount = readcount > len ? len : readcount ; in alac_read_s()
478 for (k = 0 ; k < readcount ; k++) in alac_read_s()
481 plac->partial_block_frames += readcount / plac->channels ; in alac_read_s()
482 total += readcount ; in alac_read_s()
483 len -= readcount ; in alac_read_s()
493 int k, readcount ; in alac_read_i() local
503 readcount = (plac->frames_this_block - plac->partial_block_frames) * plac->channels ; in alac_read_i()
504 readcount = readcount > len ? len : readcount ; in alac_read_i()
508 for (k = 0 ; k < readcount ; k++) in alac_read_i()
511 plac->partial_block_frames += readcount / plac->channels ; in alac_read_i()
512 total += readcount ; in alac_read_i()
513 len -= readcount ; in alac_read_i()
523 int k, readcount ; in alac_read_f() local
536 readcount = (plac->frames_this_block - plac->partial_block_frames) * plac->channels ; in alac_read_f()
537 readcount = readcount > len ? len : readcount ; in alac_read_f()
541 for (k = 0 ; k < readcount ; k++) in alac_read_f()
544 plac->partial_block_frames += readcount / plac->channels ; in alac_read_f()
545 total += readcount ; in alac_read_f()
546 len -= readcount ; in alac_read_f()
556 int k, readcount ; in alac_read_d() local
569 readcount = (plac->frames_this_block - plac->partial_block_frames) * plac->channels ; in alac_read_d()
570 readcount = readcount > len ? len : readcount ; in alac_read_d()
574 for (k = 0 ; k < readcount ; k++) in alac_read_d()
577 plac->partial_block_frames += readcount / plac->channels ; in alac_read_d()
578 total += readcount ; in alac_read_d()
579 len -= readcount ; in alac_read_d()