GstAudio.AudioDownmixMeta

Fields

Name

Type

Access

Description

from_channels

int

r/w

the number of channels of the source

from_position

GstAudio.AudioChannelPosition

r/w

the channel positions of the source

matrix

float

r/w

the matrix coefficients.

meta

Gst.Meta

r/w

parent Gst.Meta

to_channels

int

r/w

the number of channels of the destination

to_position

GstAudio.AudioChannelPosition

r/w

the channel positions of the destination

Methods

class

get_info ()

Details

class GstAudio.AudioDownmixMeta

Extra buffer metadata describing audio downmixing matrix. This metadata is attached to audio buffers and contains a matrix to downmix the buffer number of channels to channels.

matrix is an two-dimensional array of to_channels times from_channels coefficients, i.e. the i-th output channels is constructed by multiplicating the input channels with the coefficients in matrix[i] and taking the sum of the results.

classmethod get_info()[source]
Return type:

Gst.MetaInfo