[MPlayer-dev-eng] [PATCH] Load af_volume when needed

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jul 25 00:00:52 CEST 2004


Hi,
> Personally, I just find it annoying. Software volume hardly takes any 
> CPU cycles compared to decoding most audio codecs.

Are you sure? I looks like e.g. af_volume can do the calculations using 
floating point arithmetic, and if it does it should be a problem to find 
an architecture where it is slower that MP3-decoding...

> Anyway, a patch that does it the way you requested is attached below.

Ok, I did some small modifications, like removing intendation changes, 
changing the messages a bit and not restricting it to af_volume (by 
sending the message down the filter line before trying to insert it).

Greetings,
Reimar Döffinger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mix.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040725/b9c8838f/attachment.asc>


More information about the MPlayer-dev-eng mailing list