GstAudio.AudioChannelMixer

Fields

None

Methods

free ()

is_passthrough ()

Details

class GstAudio.AudioChannelMixer
free()[source]

Free memory allocated by self.

is_passthrough()[source]
Returns:

True is self is passthrough.

Return type:

bool

Check if self is in passthrough.

Only N x N mix identity matrices are considered passthrough, this is determined by comparing the contents of the matrix with 0.0 and 1.0.

As this is floating point comparisons, if the values have been generated, they should be rounded up or down by explicit assignment of 0.0 or 1.0 to values within a user-defined epsilon, this code doesn’t make assumptions as to what may constitute an appropriate epsilon.