Erik de Castro Lopo
2007-Sep-07 18:30 UTC
[Flac-dev] FLAC__FrameHeader's blocksize element
Hi all, I've found that the FLAC__FrameHeader struct's blocksize member has values limited to the range (0, FLAC__MAX_BLOCK_SIZE] where FLAC__MAX_BLOCK_SIZE is 65535. In the encoder, what determines the size of a block? Cheers, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "When your hammer is C++, everything begins to look like a thumb." -- Steve Haflich, in comp.lang.c++
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:> Hi all, > > I've found that the FLAC__FrameHeader struct's blocksize member > has values limited to the range (0, FLAC__MAX_BLOCK_SIZE] where > FLAC__MAX_BLOCK_SIZE is 65535. > > In the encoder, what determines the size of a block?in libFLAC, currently the client dictates the block size which is used for all blocks in the stream. Josh ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC