[MPlayer-dev-eng] af layer STILL broken

Arpi arpi at thot.banki.hu
Tue Jan 14 12:50:33 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


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list