[FFmpeg-devel] [PATCH] ALSA: implement channel layout for playback.
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel