[MPlayer-dev-eng] [PATCH] Audio plugin to reverse L&R channelsof stereo
pl
p_l at gmx.fr
Sun Mar 24 15:01:34 CET 2002
On Sun, Mar 24, 2002 at 01:27:40PM +0200, Georgi Hristov wrote:
> ----- Original Message -----
> From: "Felix Buenemann" <atmosfear at users.sourceforge.net>
> To: <mplayer-dev-eng at mplayer.dev.hu>
> Sent: Saturday, March 23, 2002 4:43 PM
> Subject: Re: [MPlayer-dev-eng] [PATCH] Audio plugin to reverse L&R
> channelsof stereo
>
> >From what I've seen, your plugin doesn't check for number of channels
> > (and maybe also samplesize), so you should probably add some case to
> > support at least mono and probably also multichannel sound (4/6
> > channels).
>
> Hi Atmos,
>
> thanks for your reply. I only check for AFMT_S16_LE, which is what most
> movies I have are using. I guess AFMT_S16_BE, AFMT_U16_LE and AFMT_U16_BE
> could be done in the same manner, but I have no idea how to handle AC3 and
> mono (what good is this plugin to mono anyway?). Most of the other mplayer
> plugins I saw did just like me (or I did like them, to be precise), so I've
> no idea how to make this better. I'd love to improve it though, so I'd
> appreciate it if you can give me some hints.
The extrastereo plugin with a negative value of mul=-1.0 should have the
same effect (but it will do a few useless computations for this peculiar
value).
I've just fixed a bug that prevented to use negative values (yeah a few
L...) so you may have to update your cvs should you want to test it.
Yet, it does not support sthg else than AFMT_S16_LE (as I've not seen
request for something else indeed...).
--
Best regards,
pl
More information about the MPlayer-dev-eng
mailing list