[FFmpeg-cvslog] ALSA: implement channel layout for playback.

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Mar 26 17:24:07 CET 2011


Nicolas George <git <at> videolan.org> writes:

> +    return
> +    codec_id == CODEC_ID_PCM_S16LE || codec_id == CODEC_ID_PCM_S16BE ?
> +        layout == AV_CH_LAYOUT_QUAD ? REORDER_DUMMY :

> +        layout == AV_CH_LAYOUT_5POINT1_BACK ?

I still believe that should be AV_CH_LAYOUT_5POINT1.
(I can confirm that with AV_CH_LAYOUT_5POINT1, it works as expected, I don't
have a AV_CH_LAYOUT_5POINT1_BACK sample, it should be wrong, but may be the
expected behaviour, so perhaps we could at least use the function for both?)

I will add 5.0 and post some ideas for 4.0.

Carl Eugen





More information about the ffmpeg-cvslog mailing list