[MPlayer-dev-eng] [patch] passthrough mode for audio plugins, bugfix for pl_resample

Arpi arpi at thot.banki.hu
Wed May 1 02:32:57 CEST 2002


Hi,

> On Monday, 29 April 2002 at 21:06, Arpi wrote:
> > > the attached patch adds a passthrough mode to all audio plugins. i've te
> sted
> > > only pl_resample and pl_volnorm, but all others should work, too. the
> > 
> > and what is the sense of this?
> > imho, if an user adds a plugin, it should do something :)
> 
> you're right, of course.
> what i forgot to add was: it just passes the audio data through when the
> input format isn't supported by the plugin. so you can have the plugin in
> your config-file, and mplayer doesn't quit when playing an unsupported audio
> format. i hope it makes a bit more sense now. :)

nope
it should be handled outside, just like in -vop
the plugin's init func should return error for unsupported formats, so
ao_plugin can skip (unload) that plugin

it shouldn't need so deep mods in all plugins code

anyway audio plugin layer should be redesigned to be usable wiht mencoder
too. it should be move dto libmpcodecs...


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