trivial: accept different chan_modes
commit31e11f5bedef66b70b7853d3d11cebf5a2d235cc
authorThomas Guillem <thomas@gllm.fr>
Mon, 5 Mar 2018 09:16:04 +0000 (5 10:16 +0100)
committerThomas Guillem <thomas@gllm.fr>
Mon, 5 Mar 2018 09:23:49 +0000 (5 10:23 +0100)
tree9c76f2b17d4e231c1f5b52f1d871187fcab3626b
parent8c1c88743e1b933540418b043550ef30b8e57f6d
trivial: accept different chan_modes

This fixes a regression from 91f426996c98642b5180bb7375b188c93b2701ea

This regressions caused the audio converter chain to fail when a chan_mode
conversion was needed but no converter were found.

In the case of AOUT_CHANMODE_DOLBYSTEREO. The dolby converter won't work with a
stereo output. The lowest priority converter still need to handle this
conversion and drop the chan_mode conversion.

Fixes #19646
modules/audio_filter/channel_mixer/trivial.c