Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Size of logical chained bitstreams (Read 3264 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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?