audioconvert: allow empty mix matrix
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 11 Oct 2017 16:03:20 +0000 (18:03 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Wed, 11 Oct 2017 20:57:38 +0000 (22:57 +0200)
commitd4db88772bba139508638354550b87a42f047254
tree58596ea51c3762c744c0aaf34d8693d3ba95a0d0
parent464d10f5c2f8911992fcd85070a27eb12e2d1dae
audioconvert: allow empty mix matrix

When an empty mix matrix is passed, audio-channel-mixer
will now generate a (potentially truncated) identity matrix,
this replicates the behaviour of audiomixmatrix in first-channels
mode.

https://bugzilla.gnome.org/show_bug.cgi?id=788833
gst-libs/gst/audio/audio-channel-mixer.c
gst-libs/gst/audio/audio-converter.c
gst/audioconvert/gstaudioconvert.c
gst/audioconvert/gstaudioconvert.h