[vlc-devel] [PATCH] lpcm: fix channel reordering for m2ts (close #8526)
Jean-Baptiste Kempf
jb at videolan.org
Tue Jul 23 22:28:04 CEST 2013
Thx a LOT!
On 23 Jul, Ludovic Fauvet wrote :
> -static int BdHeader( unsigned *pi_rate,
> +static const uint32_t pi_8channels_in[] =
> +{ AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT, AOUT_CHAN_CENTER,
> + AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT,
> + AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_LFE, 0 };
Works perfectly on a 7.1 system (tested with Waveout).
> +static const uint32_t pi_6channels_in[] =
> +{ AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT, AOUT_CHAN_CENTER,
> + AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_LFE, 0 };
Left, Right and LFE are ok.
Center gets out by the SL speaker.
SL gets out by the SR speaker
SR gets out by the center speaker.
Maybe a small permutation is needed?
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list