audio-converter: add API to determine passthrough mode
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 17 Dec 2018 12:33:56 +0000 (13:33 +0100)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Mon, 17 Dec 2018 14:23:49 +0000 (14:23 +0000)
commit1edb2c42428e210c5ff1eb2b1d690a3be918afeb
treeeee45a140d3c7e738613a8d9ae7506a1921deba3
parent98386927ee16a2d9c77c1d6fa7edea85e7c33fb4
audio-converter: add API to determine passthrough mode

audioconvert's passthrough status can no longer be determined
strictly from input / output caps equality, as a mix-matrix can
now be specified.

We now call gst_base_transform_set_passthrough dynamically, based
on the return from the new gst_audio_converter_is_passthrough()
API, which takes the mix matrix into account.
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/audio/audio-converter.c
gst-libs/gst/audio/audio-converter.h
gst/audioconvert/gstaudioconvert.c