[MPlayer-dev-eng] af layer STILL broken

Anders Johansson ajh at watri.uwa.edu.au
Thu Jan 16 11:48:27 CET 2003


> Hi,
> 
> > I have a sugestion of how libaf cold be made to work better without
> > too much work:
> hmm
> 
> > 1. Audio decoder should be selected and initialized.
> > 
> > 2. Init for libaf is run and all filters are setup and configured, but
> >    the out format is not compensated for, instead init returns the
> >    outpout format from the last fiilter.
> > 
> > 3. AO driver is loaded and initialized with the output format from the
> >    last fillter in the audio filter chain. 
> > 
> > 4. If the AO driver doesn't support the format of the output from the
> >    last filter a new function in libaf is called which appends the
> >    necessary filters to make the whole thing work.
> > 
> > The above changes would sort things out and the changes arn't too big,
> > what do you think?
> 
> good idea.
> but i wouldn't separate the function, instead add a new parameter,
> sth like 'force out format'.
> 
> then:
> 1. codec init
> 2. libaf init force=0
> 3. libao2 init
> 4. libaf init force=1
> 

I have it implemented (i.e suport in libaf, but not the functionality
to use it) do you want me to commit now or after this release?
 
> A'rpi / Astral & ESP-team
 
//Anders



More information about the MPlayer-dev-eng mailing list