[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:11:11 CEST 2006


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:

> // Data for specific instances of this filter
> typedef struct af_sinesupress_s
> {
>     double freq;
>     double decay;
>     double real;
>     double imag;
>     double ref;
>     double pos;
> }af_sinesupress_t;

but I don't know what unit they may all be.

Could you help me document this Michael?

(yes, I'm being Diego's watchdog... let's help him out while he's away)

Guillaume




More information about the MPlayer-cvslog mailing list