[vlc-devel] [PATCH] wav: fix channel order for 7.1
Thomas Guillem
thomas at gllm.fr
Tue Sep 27 12:31:17 CEST 2016
Oops, forget it, AOUT_CHAN_MIDDLE* is not FRONT * of Center.
On Tue, Sep 27, 2016, at 11:18, Thomas Guillem wrote:
> According to
> https://msdn.microsoft.com/en-us/library/windows/hardware/dn653308(v=vs.85).aspx#Default_Channel_Ordering
> AOUT_CHAN_REARCENTER should be after AOUT_CHAN_MIDDLE*
> ---
> modules/demux/windows_audio_commons.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/demux/windows_audio_commons.h
> b/modules/demux/windows_audio_commons.h
> index 80aa5cb..c673dc5 100644
> --- a/modules/demux/windows_audio_commons.h
> +++ b/modules/demux/windows_audio_commons.h
> @@ -33,7 +33,7 @@ static const uint32_t pi_channels_src[] = {
> WAVE_SPEAKER_FRONT_LEFT,
>
> static const uint32_t pi_channels_aout[] = { AOUT_CHAN_LEFT,
> AOUT_CHAN_RIGHT,
> AOUT_CHAN_CENTER, AOUT_CHAN_LFE, AOUT_CHAN_REARLEFT,
> AOUT_CHAN_REARRIGHT,
> - AOUT_CHAN_REARCENTER, AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, 0
> };
> + AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_REARCENTER, 0
> };
>
> static inline unsigned getChannelMask( uint32_t * wvfextChannelMask, int
> i_channels, int * i_match )
> {
> --
> 2.9.3
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list