ParseFrame


Description:

[ 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.

Parameters:

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.

Returns:

a newly-allocated ParseFrame. Free with free when no longer needed.




2022 vala-language.org