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

Nicolas George nicolas.george
Tue Mar 15 20:24:56 CET 2011

Le quartidi 24 vent?se, an CCXIX, Carl Eugen Hoyos a ?crit?:
> I am not sure if this is correct (I don't know of a _BACK sample), but it
> should at least also include AV_CH_LAYOUT_5POINT1 (that's what I tested
> successfully).

Theoretically, 5POINT1 and 5POINT1_BACK are different. In practice, I
suspect most projects do not distinguish them.

So I am undecided. What do other people think about that: silently accept
side left+right as rear left+right?

> I don't disagree, but if 4 channel output was requested, it should either set
> surround to silence or map the back channel to both surround channels. What
> should be done with centre in this case?

The current behaviour with my patch is to print a warning and let the used
deal with it any way he wants. I think that is correct. Except that there is
currently no good way to deal with it, but this is another issue.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110315/18996cef/attachment.pgp>

More information about the ffmpeg-devel mailing list