Lines Matching refs:writelen
1280 int writelen ; in ogg_opus_write_s() local
1293 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ; in ogg_opus_write_s()
1294 if (writelen) in ogg_opus_write_s()
1297 total += writelen ; in ogg_opus_write_s()
1301 oopus->loc += (writelen / psf->sf.channels) ; in ogg_opus_write_s()
1312 int writelen ; in ogg_opus_write_i() local
1325 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ; in ogg_opus_write_i()
1326 if (writelen) in ogg_opus_write_i()
1329 total += writelen ; in ogg_opus_write_i()
1333 oopus->loc += (writelen / psf->sf.channels) ; in ogg_opus_write_i()
1344 int writelen ; in ogg_opus_write_f() local
1356 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ; in ogg_opus_write_f()
1357 if (writelen) in ogg_opus_write_f()
1358 …cpy (&(oopus->buffer [oopus->loc * psf->sf.channels]), &(ptr [total]), sizeof (float) * writelen) ; in ogg_opus_write_f()
1359 total += writelen ; in ogg_opus_write_f()
1360 oopus->loc += (writelen / psf->sf.channels) ; in ogg_opus_write_f()
1371 int writelen ; in ogg_opus_write_d() local
1384 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ; in ogg_opus_write_d()
1385 if (writelen) in ogg_opus_write_d()
1388 total += writelen ; in ogg_opus_write_d()
1392 oopus->loc += (writelen / psf->sf.channels) ; in ogg_opus_write_d()