[MPlayer-cvslog] CVS: main/libaf af_sinesupress.c, NONE, 1.1 af.c, 1.52, 1.53 control.h, 1.9, 1.10 Makefile, 1.29, 1.30

Guillaume Poirier docmaintainerwannabe at laposte.net
Thu Apr 13 14:34:27 CEST 2006


Jan Knutar wrote:
> On Thursday 13 April 2006 15:11, Guillaume Poirier wrote:
>>Michael Niedermayer CVS wrote:
>>>very simple filter which can remove a sine at a specified frequency, usefull to get rid of the 50/60hz noise on ultra crappy equipment
>>>probably works only with 1 channel input
>>Good! ... now, how to use it? What are the parameters?
>>I'm more used to libmpcodecs-style parameters passing, so I can't see what are the expected parameters, nor do I see what type and range they accept.
>>I'm _guessing_ the expected parameters are:
> The commandline parsing is here:
>     float f1,f2;
>     sscanf((char*)arg,"%f:%f", &f1,&f2);
>     s->freq = f1;
>     s->decay = f2;
>     return AF_OK;
>   }
> So it accepts two floats: freq:decay

Okay. That's really not the kind of look I'm used to for command parsing.
Aren't all filters supposed to use Alex's subopt parser btw?

Anyway, I'll hopefully commit smth tonite.


More information about the MPlayer-cvslog mailing list