Displaying 1 result from an estimated 1 matches for "granuleval".
Did you mean:
granule_at
2007 Apr 14
0
Discontinuous stream support in libogg1
...->discont?saved==-1&&!continued:val<255)saved=os->lacing_fill;
+ if(val<255)continued=0;
os->lacing_fill++;
segptr++;
@@ -791,7 +804,9 @@
if(val<255)os->lacing_packet=os->lacing_fill;
}
- /* set the granulepos on the last granuleval of the last full packet */
+ /* set the granulepos on the last granuleval of the last full packet
+ OR, for discontinuous stream,
+ set the granulepos on the first granuleval of the first packet */
if(saved!=-1){
os->granule_vals[saved]=granulepos;
}
@@ -834,6 +84...