[MPlayer-dev-eng] [PATCH] af_pan.c: Avoid zero output channels when reinit af pan

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jun 10 19:16:23 CEST 2007


Hello,
On Sun, Jun 10, 2007 at 07:04:57PM +0800, Zuxy Meng wrote:
[...]
> I got tired about this issue.  All I want is an audio filter used for
> balancing that can be 'af_add()'ed at runtime and doesn't alter the #
> of channels before and after it. If one day you come up with an ideal
> solution, pls kindly ping me.

You'd only have to add nch to af_pan_t, set that in the comamndline
control and on reinit read it end set af->data->nch to it if it's
non-zero or to the current number of channels otherwise.

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list