[MPlayer-dev-eng] [PATCH] Automatic downmix

Clément Bœsch ubitux at gmail.com
Sat Sep 11 19:26:30 CEST 2010


On Sat, Sep 11, 2010 at 06:44:58PM +0200, Reimar Döffinger wrote:
> On Sat, Sep 11, 2010 at 04:18:15PM +0200, Clément Bœsch wrote:
> > @@ -1665,7 +1732,7 @@
> >      if (!(initialized_flags & INITIALIZED_AO)) {
> >          current_module="af_preinit";
> >          ao_data.samplerate=force_srate;
> > -        ao_data.channels=0;
> > +        ao_data.channels=audio_output_channels;
> 
> Please test this very carefully, especially make sure that
> all kinds of mono/stereo files still work with -channels 6.
> I am for some reason quite convinced this was 0 for a good reason.

Oh you've right, sorry: If I play a stereo file, I get the sound in only
right and left while the current behaviour gives output to the 6 physical
channels with a stereo audio.

Well then I'm going to try something else, but if anyone has an idea how
it could be fixed please share…

Regards,

-- 
Clément B.


More information about the MPlayer-dev-eng mailing list