On Jun 22, 2010, at 07:21, Ivailo Karamanolev wrote: > Hello Ilia, > > The FLAC format by nature is not a byte stream, it's a bit stream. > Therefore, in order to parse it you need too build a bit-reading > infrastructure. Eg. a class that accepts a byte stream, implements > buffering, etc, etc, and supports reading a specified number of > bits, not bytes as you are used to. There is quite a lot of bit > logic there, but nothing too scary.
Ivailo is correct. You'll note, Ilia, that other compressed formats such as MPEG and MP3 also have bit streams, so you might find other open source examples of bit parsing. Brian Willoughby Sound Consulting _______________________________________________ Flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
