[ CCode ( has_construct_function = false ) ]
public ParseFrame (Buffer buffer, ParseFrameFlags flags, int overhead)
Allocates a new ParseFrame.
This function is mainly for bindings, elements written in C should usually allocate the frame on the stack and then use init to initialise it.
buffer |
a Buffer |
flags |
the flags |
overhead |
number of bytes in this frame which should be counted as metadata overhead, ie. not used to calculate the average bitrate. Set to -1 to mark the entire frame as metadata. If in doubt, set to 0. |
a newly-allocated ParseFrame. Free with free when no longer needed. |