build_integer


Description:

public static Format build_integer (bool sign, int endianness, int width, int depth)

Construct a Format with given parameters.

Parameters:

sign

signed or unsigned format

endianness

G_LITTLE_ENDIAN or G_BIG_ENDIAN

width

amount of bits used per sample

depth

amount of used bits in width

Returns:

a Format or GST_AUDIO_FORMAT_UNKNOWN when no audio format exists with the given parameters.




2022 vala-language.org