gnif/xbmc — pull request #18 by DDDamian (2012-01-31 19:04:44+00:00)
Title: Added Stereo to All Channels function in CAERemap.cpp and added advanced...

...settings tag . Based on incoming stdChLayout. If tag in advancedsettings.xml set to (1) true, and source is 2-channel stereo function will map stereo channels to channels reported by stdChLayout.

If stdChLayout includes a center or LFE channel these will be mixed in and output, so all layouts from 2.1 to 7.1 are supported. Support does not extend beyond range of AEstdChLayouts as defined in AEChannelInfo.h. This means channel layouts beyond 7.1 are not currently supported.

Note that stdChLayout is not necessarily consistent now and needs reviewing in several modules.

Signed-off-by: Damian Huckle