<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 4/9/20 10:56 AM, Peter Bennett
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:abf54359-65ac-4d58-508b-54f434d4b33b@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:c13a13c8-96a4-4bf6-9050-f11f7c106156@gmail.com">
<blockquote type="cite"
cite="mid:58419ccc-d477-fd70-136a-f8821e87dfec@blandford.net">
<h2 id="TouseAudioTrackonAndroid">To use AudioTrack on Android</h2>
<p> In the Android setup, choose "Automatic" or "Best
Available". There is no need to force Dolby Digital in
Android, it will be used automatically if your hardware
supports it. </p>
<p> Select "AudioTrack:" audio device. Enable all entries
under "Digital Capabilities" and set the appropriate number
of speakers. Android will detect whether your TV or sound
system supports the audio format and will either pass it
through or decode it within android hardware. So for example
you can select Dolby Digital even if your sound system, TV
or display monitor does not support it and android will
decode it. If you do not select the checkbox, MythTV will
decode it. </p>
<p> I have tested Dolby Digital (AC-3). I cannot test multi
channel LPCM, DTS, E-AC3, etc. If anybody can test these it
would be appreciated. In particular, testing multi-channel
LPCM is needed to make sure the channel mapping is correct.
</p>
<p> Let me know if there is any feedback. <br>
</p>
<p><br>
</p>
<p>I configured my shield frontend to have all digital formats
and set the Shield to auto. It seemed like all was working
until today my wife reported a video that has AC-3 audio
that wouldn't play any sound. If I uncheck AC-3 in
mythtvsetup, I get the audio. Additionally, in leanfrontend
it plays with audio just fine.<br>
</p>
<p><br>
</p>
<p>According to the manual for my receiver, it does support
all of the digital audio formats in the mythtv screen.</p>
<p><br>
</p>
<p>Are these instructions still accurate? Any thoughts on
debugging further?</p>
<p><br>
</p>
<p>Michael</p>
<p><br>
</p>
<br>
</blockquote>
I will try this again and let you know. It should work, but
later changes may have introduced a problem.<br>
<br>
Peter<br>
</blockquote>
<br>
I just tested on the Shield with mythfrontend V31.0 (same apk as
on bintray). I selected "Auto" under surround sound in the Shield
Setup. I selected AudioTrack: in MythTV, selected Dolby Digital
and DTS in "Digital Audio Capabilities", selected 5.1 in speaker
setup.<br>
<br>
AC-3 plays fine, and displays "Dolby Digital" in the audio
receiver display. <br>
<br>
I found, if I select "Stereo" in the Shield setup and still have
Dolby Digital selected in MythTV, that I get no sound, but that is
an invalid configuration.<br>
<br>
Perhaps your sound system is telling the shield that it does not
support ac-3. You could try the "Manual" audio setup in shield
setup and select AC-3.<br>
<br>
Are you sure you have selected AudioTrack: in MythTV? OpenSles
does not support any surround sound formats. Also check the number
of speakers setup.<br>
<br>
Peter</blockquote>
<p><br>
</p>
<p><br>
</p>
<p>Hi Peter,</p>
<p><br>
</p>
<p>I did confirm that I do have audiotrack selected and 5.1 as my
speaker setting which matches my setup. I am ok if my receiver
doesn't support AC-3 or if it doesn't report it correctly. I
think it is just contrary to the note above that says the android
device will either pass through or decode it for you.</p>
<p><br>
</p>
<p>Michael</p>
<p><br>
</p>
</body>
</html>