Lines Matching refs:pcm_offset
663 machine is unloaded, it loads it. It also keeps pcm_offset up to
726 /* this packet has a pcm_offset on it (the last packet
751 vf->pcm_offset=granulepos;
1233 vf->pcm_offset=-1;
1241 /* we need to make sure the pcm_offset is set, but we don't want to
1305 vf->pcm_offset=granulepos-accblock;
1306 if(vf->pcm_offset<0)vf->pcm_offset=0;
1319 vf->pcm_offset=ov_pcm_total(vf,-1);
1324 vf->pcm_offset=-1;
1376 vf->pcm_offset=-1;
1495 vf->pcm_offset=-1;
1543 vf->pcm_offset=op.granulepos-vf->pcmlengths[vf->current_link*2];
1544 if(vf->pcm_offset<0)vf->pcm_offset=0;
1545 vf->pcm_offset+=total;
1554 if(vf->pcm_offset>pos || pos>ov_pcm_total(vf,-1)){
1564 vf->pcm_offset=-1;
1592 if(lastblock)vf->pcm_offset+=(lastblock+thisblock)>>2;
1594 if(vf->pcm_offset+((thisblock+
1610 vf->pcm_offset=op.granulepos-vf->pcmlengths[vf->current_link*2];
1611 if(vf->pcm_offset<0)vf->pcm_offset=0;
1613 vf->pcm_offset+=vf->pcmlengths[i*2+1];
1650 while(vf->pcm_offset<pos){
1651 ogg_int64_t target=pos-vf->pcm_offset;
1656 vf->pcm_offset+=samples;
1660 vf->pcm_offset=ov_pcm_total(vf,-1); /* eof */
1735 return(vf->pcm_offset);
1753 if(vf->pcm_offset>=pcm_total)break;
1757 return((double)time_total+(double)(vf->pcm_offset-pcm_total)/vf->vi[link].rate);
1974 vf->pcm_offset+=samples;
2014 vf->pcm_offset+=samples;