Displaying 4 results from an estimated 4 matches for "ov_raw_tot".
Did you mean:
  ov_raw_total
  
2003 Dec 11
1
Another vorbisfile question
Is there a straight forward method for seeking straight to a particular 
logical stream using vorbisfile? 
I'm guessing I'll have to look the offset for a given link up in vf->offsets, 
and use that in ov_raw_seek?
Thanks,
John
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
2004 Apr 24
2
Is this a bug in ogg ?
...est2.pak","rb");
        //fseek(fp,3403, SEEK_SET); // place to the beginning of test1.ogg
        fseek(fp,3403 + 5196,SEEK_SET); // place to the beginning of
test2.ogg
        fprintf(stderr, " ov_open_return_code:%i\n",ov_open(fp, &vf, NULL,
0));
        int xx = ov_raw_total(&vf,-1);
        int yy =  (long)ov_pcm_total(&vf, -1);
        printf("oggtotalraw:%i",xx);
        printf("oggtotalpcm:%i",yy);
}
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this lis...
2004 Feb 11
1
Problem using 'ov_open()'...
...n false;
    }
  return true;
  }
pSOUNDDATA OGGDATA::DecodeOGGLow()
  {
  int StreamID;
  unsigned int Size, Read, Location;
  pSOUNDDATA pData;
  if((pFile == NULL) || (pOVFile == NULL))
    return NULL;
  if((pData = (pSOUNDDATA)malloc(sizeof(sSOUNDDATA))) == NULL)
    return NULL;
  Size = ov_raw_total(pOVFile, -1);
  if((pData->Buffer = (char*)malloc(Size)) == NULL)
    {
    free(pData);
    return NULL;
    }
  StreamID = 0;
  Read = 0;
  Location = 0;
  while(Size > 0)
    {
    Read = ov_read(pOVFile, pData->Buffer + Location, Size, 0, 2, 1,
&StreamID);
    Location += Read;...
2004 Sep 06
1
Fixing libvorbisfile to handle largefiles
...ier, and which I'll
post and possibly re-do sometime later.)
Glancing for the first time ;-) at the doc directory, it
also seems like ov_raw_seek() and seek_lap are possible
candidates for a change from long to 64-bit as well, but
I'm not sure how/where those are used.  As the return
from ov_raw_total() is already 64-bit, it seems one would
want to change the seek functions to match for consistency.
As noted, the doc, possibly examples, and maybe things
elsewhere in vorbis/ will need to be changed to match,
if I'm on the right track.  I've only cared that I'm
able to play large f...