Flags

Details

class GstAudio.AudioChannelMixerFlags(value)

Bases: GObject.GFlags

Flags passed to gst_audio_channel_mixer_new()

NONE = 0

no flag

NON_INTERLEAVED_IN = 1

input channels are not interleaved

NON_INTERLEAVED_OUT = 2

output channels are not interleaved

UNPOSITIONED_IN = 4

input channels are explicitly unpositioned

UNPOSITIONED_OUT = 8

output channels are explicitly unpositioned

class GstAudio.AudioConverterFlags(value)

Bases: GObject.GFlags

Extra flags passed to GstAudio.AudioConverter.new() and GstAudio.AudioConverter.samples().

NONE = 0

no flag

IN_WRITABLE = 1

the input sample arrays are writable and can be used as temporary storage during conversion.

VARIABLE_RATE = 2

allow arbitrary rate updates with GstAudio.AudioConverter.update_config().

class GstAudio.AudioFlags(value)

Bases: GObject.GFlags

Extra audio flags

NONE = 0

no valid flag

UNPOSITIONED = 1

the position array explicitly contains unpositioned channels.

class GstAudio.AudioFormatFlags(value)

Bases: GObject.GFlags

The different audio flags that a format info can have.

INTEGER = 1

integer samples

COMPLEX = 16

complex layout

FLOAT = 2

float samples

UNPACK = 32

the format can be used in GstAudio.AudioFormatUnpack and GstAudio.AudioFormatPack functions

SIGNED = 4

signed samples

class GstAudio.AudioPackFlags(value)

Bases: GObject.GFlags

The different flags that can be used when packing and unpacking.

NONE = 0

No flag

TRUNCATE_RANGE = 1

When the source has a smaller depth than the target format, set the least significant bits of the target to 0. This is likely slightly faster but less accurate. When this flag is not specified, the most significant bits of the source are duplicated in the least significant bits of the destination.

class GstAudio.AudioQuantizeFlags(value)

Bases: GObject.GFlags

Extra flags that can be passed to gst_audio_quantize_new()

NONE = 0

no flags

NON_INTERLEAVED = 1

samples are non-interleaved

class GstAudio.AudioResamplerFlags(value)

Bases: GObject.GFlags

Different resampler flags.

New in version 1.10.

NONE = 0

no flags

NON_INTERLEAVED_IN = 1

input samples are non-interleaved. an array of blocks of samples, one for each channel, should be passed to the resample function.

NON_INTERLEAVED_OUT = 2

output samples are non-interleaved. an array of blocks of samples, one for each channel, should be passed to the resample function.

VARIABLE_RATE = 4

optimize for dynamic updates of the sample rates with GstAudio.AudioResampler.update(). This will select an interpolating filter when GstAudio.AudioResamplerFilterMode.AUTO is configured.