FLAC Subframe size |
FLAC Subframe size |
Sep 5 2012, 21:35
Post
#1
|
|
|
Group: Members Posts: 13 Joined: 7-April 12 Member No.: 98516 |
I am writing a Flac decoder. And there are 4 subframe types.
I am programming in C# and I have to read an amount of bytes of a stream. (the amount of bytes of all subframes or of the next subframe) But how can I get the size of the ENCODED subframe? |
|
|
|
![]() |
Sep 6 2012, 16:00
Post
#2
|
|
|
Group: Members Posts: 13 Joined: 7-April 12 Member No.: 98516 |
Hmmm so is there a max size?
Because I have to know how many bytes I have to read into a buffer. I can t load the whole file into memory because that would case a outofmem exception |
|
|
|
filoe FLAC Subframe size Sep 5 2012, 21:35
tuffy There is no subframe size field. When the decoder... Sep 6 2012, 13:18
pdq Worst case would be slightly larger than the uncom... Sep 6 2012, 16:29
tuffy There technically isn't any maximum size for a... Sep 6 2012, 16:32![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 21:08 |