koying / SPMC

fork of xbmc/kodi
Other
632 stars 257 forks source link

FireTV: surround/surround-back channels reversed (7.1 PCM) #832

Open LukeM-Github opened 7 years ago

LukeM-Github commented 7 years ago

On my FireTV stick (Android 5.1.1), 7.1 PCM is played with the surround and surround-back channels reversed (e.g. surround-back-left channel plays as surround-left).

koying commented 7 years ago

@davilla Does that ring a bell to you? I don't actually have 7,1 speakers to test...

MrMC commented 7 years ago

Last time I checked, 7.1 maps correctly with MrMC. SPMC code seems to match what is in MrMC. a debuglog might tell more. a sample too.

LukeM-Github commented 7 years ago

Debug log (this is from Kodi v17, which acts the same as SPMC): http://pastebin.com/HWzZpHh4

If you need a test file: https://www2.iis.fraunhofer.de/AAC/7.1auditionOutLeader_v2_rtb.mp4

The test file plays correctly on Kodi running on Windows (as well as TrueHD & DD+). So the problem is definitely not with the audio decoding.