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