* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
+ * by the Xiph.Org Foundation https://xiph.org/ *
* *
********************************************************************
function: illustrate seeking, and test it too
- last mod: $Id$
********************************************************************/
{
fprintf(stderr,"testing time page seeking to random places in %f seconds....\n",
timelength);
-
+
for(i=0;i<1000;i++){
double val=(double)rand()/RAND_MAX*timelength;
fprintf(stderr,"\r\t%d [time position %f]... ",i,val);
{
fprintf(stderr,"testing time exact seeking to random places in %f seconds....\n",
timelength);
-
+
for(i=0;i<1000;i++){
double val=(double)rand()/RAND_MAX*timelength;
fprintf(stderr,"\r\t%d [time position %f]... ",i,val);
}
}
-
+
fprintf(stderr,"\r \nOK.\n\n");