GstAudioDownmixMeta

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 @matrixi and taking the sum of the results.

Members

Variables

fromChannels
int fromChannels;

the number of channels of the source

fromPosition
GstAudioChannelPosition* fromPosition;

the channel positions of the source

matrix
float** matrix;

the matrix coefficients.

meta
GstMeta meta;

parent #GstMeta

toChannels
int toChannels;

the number of channels of the destination

toPosition
GstAudioChannelPosition* toPosition;

the channel positions of the destination