2015-11-05, 18:53
Hello,
In the Android audio handler, there seems to be missing code for adding passthrough support for DTS-HD and Dolby TRUEHD.
In the function:
EnumerateDevicesEx in file AESinkAUDIOTRACK.cpp
It only adds:
m_info.m_dataFormats.push_back(AE_FMT_AC3);
m_info.m_dataFormats.push_back(AE_FMT_DTS);
Missing are:
m_info.m_dataFormats.push_back(AE_FMT_DTSHD);
m_info.m_dataFormats.push_back(AE_FMT_TRUEHD);
and perhaps a few more
By simply adding this and forcing it to add: m_info.m_sampleRates.push_back(192000);, my external receiver sees TRUEHD but cuts in and out, it's like its trying to decode it, but doesn't quite get the right data as part of the bitstream.
Also the enumeration of supported audio bitrates seems to only query ENCODING_PCM_16BIT, whereas there is ENCODING_AC3, etc This should probably change as well.
I'm using one of those cheap android boxes with an amlogic chip.
Its possible to achieve passthrough, the Vidon XBMC Pro player does it somehow, so they probably found the root issue. Since the code is GPL'd, can't we demand to see their modifications?
In the Android audio handler, there seems to be missing code for adding passthrough support for DTS-HD and Dolby TRUEHD.
In the function:
EnumerateDevicesEx in file AESinkAUDIOTRACK.cpp
It only adds:
m_info.m_dataFormats.push_back(AE_FMT_AC3);
m_info.m_dataFormats.push_back(AE_FMT_DTS);
Missing are:
m_info.m_dataFormats.push_back(AE_FMT_DTSHD);
m_info.m_dataFormats.push_back(AE_FMT_TRUEHD);
and perhaps a few more
By simply adding this and forcing it to add: m_info.m_sampleRates.push_back(192000);, my external receiver sees TRUEHD but cuts in and out, it's like its trying to decode it, but doesn't quite get the right data as part of the bitstream.
Also the enumeration of supported audio bitrates seems to only query ENCODING_PCM_16BIT, whereas there is ENCODING_AC3, etc This should probably change as well.
I'm using one of those cheap android boxes with an amlogic chip.
Its possible to achieve passthrough, the Vidon XBMC Pro player does it somehow, so they probably found the root issue. Since the code is GPL'd, can't we demand to see their modifications?