[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

Jan Knutar jknutar at nic.fi
Thu Apr 13 14:24:09 CEST 2006


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:

  case AF_CONTROL_COMMAND_LINE:{
    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

None the wiser about their units and magnitudes, though :)




More information about the MPlayer-cvslog mailing list