[MPlayer-dev-eng] [PATCH] SMPlayer's audio equalizer slave command patch

Adrian Stutz adrian at sttz.ch
Mon Oct 11 21:56:11 CEST 2010


On Sun, Jul 11, 2010 at 23:38, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> Yes, it is annoyingly specific.
> A command that selects an audio filter either by name or index and
> then sends it the argument as AF_CONTROL_COMMAND_LINE would
> be far, far, nicer.

Excuse me if I'm just being blind but how is the patch not doing exactly that?

It gets the audio filter by name:
> af_instance_t* m1=af_get(sh_audio->afilter, "equalizer");

and sends it the arguments as AF_CONTROL_COMMAND_LINE:
> m1->control( m1, AF_CONTROL_COMMAND_LINE, cmd->args[0].v.s);

Greetings,
Adrian


More information about the MPlayer-dev-eng mailing list