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

Nicolas George nicolas.george at normalesup.org
Thu Mar 17 10:51:53 CET 2011

Le quintidi 25 ventôse, an CCXIX, Carl Eugen Hoyos a écrit :
> What I tried to say was: In my tests, your patch was correct if I did
> s/AV_CH_LAYOUT_5POINT1_BACK/AV_CH_LAYOUT_5POINT1 - since I did not find a _BACK
> sample, I don't know if it exists and how it should be dealt with.

Which sample was it exactly? I would like to check against the spec that it
is really front+center+side and not front+rear+side.

> But we could print a warning and still map the back channel to the two surround
> channels (or is this plain wrong?) and centre to L+R (or just remove it).

That would require additional code for a situation that still require proper
fixing: these would be lines of code not very well spent.

We have waited until now, we can wait a little more that audio filters are
supported and adapt af_pan from mplayer.


  Nicolas George

More information about the ffmpeg-devel mailing list