Lines Matching refs:total
439 psf_log_printf (psf, " streams total : %d\n", (int) h->nb_streams) ;
882 ** total number of samples completed in it. This is how Ogg embedded Opus
1065 psf_log_printf (psf, "Opus : Mid-stream page's granule position %D is less than total samples of %D\n", oopus->pg_pos, pkt_granulepos) ;
1153 sf_count_t total = 0 ;
1157 while (total < len)
1160 return total ;
1163 readlen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1166 i = total ;
1167 total += readlen ;
1171 for ( ; i < total ; i++)
1176 { for ( ; i < total ; i++)
1183 return total ;
1190 sf_count_t total = 0 ;
1194 while (total < len)
1197 return total ;
1200 readlen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1203 i = total ;
1204 total += readlen ;
1208 for ( ; i < total ; i++)
1213 { for ( ; i < total ; i++)
1220 return total ;
1227 sf_count_t total = 0 ;
1230 while (total < len)
1233 return total ;
1236 readlen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1238 { memcpy (&(ptr [total]), &(oopus->buffer [oopus->loc * psf->sf.channels]), sizeof (float) * readlen) ;
1239 total += readlen ;
1243 return total ;
1250 sf_count_t total = 0 ;
1254 while (total < len)
1257 return total ;
1260 readlen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1264 i = total ;
1265 total += readlen ;
1266 for ( ; i < total ; i++)
1272 return total ;
1279 sf_count_t total, i ;
1286 for (total = 0 ; total < len ; )
1290 return total ;
1293 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1296 i = total ;
1297 total += writelen ;
1298 for ( ; i < total ; i++)
1304 return total ;
1311 sf_count_t total, i ;
1318 for (total = 0 ; total < len ; )
1322 return total ;
1325 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1328 i = total ;
1329 total += writelen ;
1330 for ( ; i < total ; i++)
1336 return total ;
1343 sf_count_t total ;
1349 for (total = 0 ; total < len ; )
1353 return total ;
1356 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1358 { memcpy (&(oopus->buffer [oopus->loc * psf->sf.channels]), &(ptr [total]), sizeof (float) * writelen) ;
1359 total += writelen ;
1363 return total ;
1370 sf_count_t total, i ;
1377 for (total = 0 ; total < len ; )
1381 return total ;
1384 writelen = SF_MIN (len - total, (sf_count_t) (oopus->len - oopus->loc) * psf->sf.channels) ;
1387 i = total ;
1388 total += writelen ;
1389 for ( ; i < total ; i++)
1395 return total ;
1445 { psf_log_printf (psf, "Opus : First data page's granule position is less than total number of samples on the page!\n") ;
1500 sf_count_t total ;
1502 total = (oopus->pkt_pos / oopus->sr_factor) - (oopus->len - oopus->loc) ;
1503 for ( ; total < offset ; )
1504 { sf_count_t readlen = SF_MIN ((int) (offset - total), (oopus->len - oopus->loc)) ;
1506 { total += readlen ;
1511 return total ;
1519 return total ;