Page 1 of 5

Dolby digital audio passthrough not working

Posted: 26 Sep 2016, 20:23
by theRCRH
I'm running 2.6.3 on a 1st gen firetv. Since upgrading to 2.6.3 I can't get passthrough audio to work. I get about 1 second of audio then silence for 4 or 5 seconds then 1 second of audio and then nothing. The display on my receiver shows Dolby digital when the audio works.

the EXPERT setting on system/Audio output are set to defaults except for number of channels (changed to 5.1):
number of channels 5.1
output config optimized
stereo upmix off
maintain origina volume on
boost center 0db
resample quality medium
keep audio alive 1 minute
enable dsp off
play gui sounds only when playback stopped
enable passthrough on
ac3 receiver on
e-ac3 receiver on
dts receiver on

Log:
https://dl.dropboxusercontent.com/u/162 ... g/mrmc.log

Re: Dolby digital audio passthrough not working

Posted: 26 Sep 2016, 21:20
by davilla
DEBUG: SETTING_AUDIOOUTPUT_CONFIG is AE_CONFIG_FIXED

This will prevent passthrough, set it to AE_CONFIG_AUTO

Re: Dolby digital audio passthrough not working

Posted: 27 Sep 2016, 01:06
by theRCRH
davilla wrote:DEBUG: SETTING_AUDIOOUTPUT_CONFIG is AE_CONFIG_FIXED

This will prevent passthrough, set it to AE_CONFIG_AUTO
Sorry Davilla you lost me. Where do I change this setting in the gui?

Re: Dolby digital audio passthrough not working

Posted: 27 Sep 2016, 13:58
by davilla
humm, you say 'output config optimized' yet it's reporting that that setting is fixed.

Re: Dolby digital audio passthrough not working

Posted: 27 Sep 2016, 14:25
by theRCRH
davilla wrote:humm, you say 'output config optimized' yet it's reporting that that setting is fixed.
Yup. Definately set to OPTIMIZED.
I tried all three of the settings but it was definately set on OPTIMIZED when I generated the log you're looking at.
And it's set on optimized right now and I'm not getting pass through.
Anything else I can try?

Re: Dolby digital audio passthrough not working

Posted: 27 Sep 2016, 15:19
by davilla
can you get to guisettings.xml on the firetv ?

Re: Dolby digital audio passthrough not working

Posted: 27 Sep 2016, 16:43
by theRCRH
davilla wrote:can you get to guisettings.xml on the firetv ?
I can later. What am I looking for?

Re: Dolby digital audio passthrough not working

Posted: 27 Sep 2016, 17:07
by theRCRH
Here's an excerpt from my guisettings.xml

<audiooutput>
<ac3passthrough default="true">true</ac3passthrough>
<ac3transcode default="true">false</ac3transcode>
<audiodevice default="true">AUDIOTRACK:AudioTrack</audiodevice>
<boostcenter default="true">0</boostcenter>
<channels>8</channels>
<config default="true">2</config>
<dspaddonsenabled default="true">false</dspaddonsenabled>
<dtshdpassthrough default="true">false</dtshdpassthrough>
<dtspassthrough>true</dtspassthrough>
<eac3passthrough>true</eac3passthrough>
<guisoundmode default="true">1</guisoundmode>
<maintainoriginalvolume default="true">true</maintainoriginalvolume>
<passthrough>true</passthrough>
<passthroughdevice default="true">AUDIOTRACK:AudioTrack</passthroughdevice>
<processquality default="true">30</processquality>
<samplerate default="true">48000</samplerate>
<stereoupmix default="true">false</stereoupmix>
<streamsilence default="true">1</streamsilence>
<supportdtshdcpudecoding default="true">false</supportdtshdcpudecoding>
<truehdpassthrough default="true">false</truehdpassthrough>
</audiooutput>

Re: Dolby digital audio passthrough not working

Posted: 28 Sep 2016, 15:06
by theRCRH
I bit more on this:
DTS pass through is working. It is only DD5.1 pass through that is failing (but I don't have anything encoded with DD+ so I can't confirm if that is working).
I've now got the same situation in KODI 16.1 as well. DTS pass through works DD5.1 does not.
Only SPMC is correctly passing through both DTS & DD5.1
The only difference I can see is that SPMC lets me select the passthrough output device. Kodi & MRMC are set to ANDROID,AUDIOTRACK while SPMC is set to ANDROID, IEC PASSTHROUGH
Finally I am on an older version of FireOS (5.0.5 (537174420). But that hasn't changed while I've been running MRMC.
Any other thoughts on this? My next step may need to be to completely uninstall MRMC and use SPMC until I can reinstall MRMC.

Re: Dolby digital audio passthrough not working

Posted: 28 Sep 2016, 17:44
by davilla
theRCRH wrote:I bit more on this:
DTS pass through is working. It is only DD5.1 pass through that is failing (but I don't have anything encoded with DD+ so I can't confirm if that is working).
I've now got the same situation in KODI 16.1 as well. DTS pass through works DD5.1 does not.
Only SPMC is correctly passing through both DTS & DD5.1
The only difference I can see is that SPMC lets me select the passthrough output device. Kodi & MRMC are set to ANDROID,AUDIOTRACK while SPMC is set to ANDROID, IEC PASSTHROUGH
Finally I am on an older version of FireOS (5.0.5 (537174420). But that hasn't changed while I've been running MRMC.
Any other thoughts on this? My next step may need to be to completely uninstall MRMC and use SPMC until I can reinstall MRMC.
smells like non-IEC passthrough is not working. Non-IEC is the format of the android native DD audiotrack. It should work, best we could do is detect FireOS version and fall back to IEC passthrough for DD.

EDIT: Ahh, I see it
Android ARM 32-bit API level 21 (API level 21). Added in API level 21 but I bet their implementation was borked. This will get fixed in the next release.