GstAudio.AudioFormatInfo

Fields

Name

Type

Access

Description

depth

int

r/w

amount of valid bits in width

description

str

r/w

user readable description of the format

endianness

int

r/w

the endianness

flags

GstAudio.AudioFormatFlags

r/w

GstAudio.AudioFormatFlags

format

GstAudio.AudioFormat

r/w

GstAudio.AudioFormat

name

str

r/w

string representation of the format

pack_func

GstAudio.AudioFormatPack

r/w

function to pack samples

silence

bytes

r/w

width/8 bytes with 1 silent sample

unpack_format

GstAudio.AudioFormat

r/w

the format of the unpacked samples

unpack_func

GstAudio.AudioFormatUnpack

r/w

function to unpack samples

width

int

r/w

amount of bits used for one sample

Methods

fill_silence (dest)

Details

class GstAudio.AudioFormatInfo

Information for an audio format.

fill_silence(dest)
Parameters:

dest (bytes) – a destination to fill

Fill length bytes in dest with silence samples for self.

New in version 1.20.