Skip to main content

Topic: Size of logical chained bitstreams (Read 1926 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Winand
  • [*]
Size of logical chained bitstreams
Hi! I'm trying to create an audio player, cause all other are too complex for me=)
It's based on BASS library, which don't support chained vorbis tracks. So i need to find out where the hell are bitstreams in the file and point BASS at some offset. Now i read a file completely and find: OggS 0x00 (ogg ver.) 0x02 (bos) .... 0x01 (header flag) vorbis
But it's quite slow, cause reading ~150-200Mb from hd is not very easy)
Is it possible to find out size of whole bitstream, so i could skip it and go to the following one?