[MPlayer-dev-eng] PATCH dynamic link loader for libaf, audio filter package

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jun 15 10:17:42 CEST 2007


Hello,
On Fri, Jun 15, 2007 at 12:20:23AM -0400, mmh wrote:
Content-Description: message body text
> This small patch provides the ability to load audio filters at runtime
> into mplayer.

If anything, please do it as a new af_ like it was done for af_ladspa.
Ok, I can't guarantee this will actually work, but it seems a lot less
messy to me.

> The API for the audio filter is identical to the existing libaf.  This
> way if a module needs to be provided separately it can be done by
> providing a shared object which can be inserted at runtime into the
> audio filter chain.

Why would someone want this though?

> The only interface change which needs to be provided by the shared
> object is that it must define a pointer to the info structure which
> defines the filter.  This is done like this:
> 
> af_info_t af_info_simple = {
> 	  "simple audio filter",
> 	  "simple",
> 	  "mmh",
> 	  "ex: simple",
> 	  AF_FLAGS_NOT_REENTRANT,

Why the hell does everyone want to use AF_FLAGS_NOT_REENTRANT?

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list