xbmc/xbmc — pull request #5615 by anssih (2014-11-01 00:11:38+00:00)
Title: [android] Add 7.1 PCM playback support

Add Android 7.1 PCM audio playback support. This support requires
Android 5.0 device.

When support is not available, the code falls back to 5.1 and stereo
playback.

Tested on ADT-1.

The code still restricts channel layout selection to 2.0/5.1/7.1 since
all other layouts seem to still be downmixed to stereo.

TODO: Channel layout is currently messed up on at least ADT-1:
https://code.google.com/p/android-developer-preview/issues/detail?id=1800

So I guess we should hold with this until it is clear if that will be fixed for final and/or whether the issues affect other hardware. I'm making this PR in any case already so that no one does unneeded duplicate work (even though it is quite trivial).