[MPlayer-dev-eng] Re: [PATCH] ao effect plugin: volnorm (or a simple & naive volume normalizer)

Anders Johansson ajh at atri.curtin.edu.au
Wed Mar 6 02:31:57 CET 2002


Hi,

> On Tue, Mar 05, 2002 at 10:06:13AM +0100, pl wrote:
> > On Tue, Mar 05, 2002 at 10:21:48AM +0800, Anders Johansson wrote:
> > > This plugin is close to what I was planning to write. I would like to
> > > add a non linearity (for soft clipping) to this plugin later on if
> > > that is ok with you.
> > 
> > I've just added it to CVS so feel free to hack & improve this as I don't
> > plan to 'play' with this plugin by the end of the week...
> > 
> > Btw, I've a sig11 when changing movies but did not have time to
> > investigate further (I'll do a proper bugreport when I have time):
> >   mplayer -aop list=wavnorm x.avi y.avi
> >   => sig11 a few seconds after y.avi starts / without aop works fine
> > 
> 
> FreeBSD:
> pl_volnorm.c: In function `reset':
> pl_volnorm.c:103: `INT16_MAX' undeclared (first use in this function)
> pl_volnorm.c:103: (Each undeclared identifier is reported only once
> pl_volnorm.c:103: for each function it appears in.)
> pl_volnorm.c: In function `play':
> pl_volnorm.c:137: `INT16_MAX' undeclared (first use in this function)
> pl_volnorm.c:148: `INT16_MIN' undeclared (first use in this function)
> 
> best regards
> 

If you add this define do it in audio_plugin.h for future use by other
plugins.

Cheers,
//Anders



More information about the MPlayer-dev-eng mailing list