[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
Michael Niedermayer
michaelni at gmx.at
Thu Apr 13 14:40:03 CEST 2006
- Previous message: [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
- Next message: [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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi
On Thu, Apr 13, 2006 at 02:34:27PM +0200, Guillaume Poirier wrote:
> Hi,
>
> 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:
> >
> > 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
>
> 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?
dunno, maybe libaf should be independant ....
and my code is copy+paste+edit from af_extrastereo.c which is
copyright alex :)
[...]
--
Michael
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
- Previous message: [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
- Next message: [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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list