<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 4/9/20 10:47 AM, Peter Bennett
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c13a13c8-96a4-4bf6-9050-f11f7c106156@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<div class="moz-cite-prefix">On 4/8/20 8:41 PM, Michael wrote:<br>
</div>
<blockquote type="cite"
cite="mid:58419ccc-d477-fd70-136a-f8821e87dfec@blandford.net">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div class="moz-cite-prefix">On 5/17/19 1:10 PM, Peter Bennett
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e9d3e367-c336-b1cf-e533-a3f27f6d3baf@gmail.com"> <br>
<br>
On 5/17/19 12:04 PM, mythtv wrote: <br>
<blockquote type="cite">I tried one of the latest android
builds from the ticket. I can actually get audio now, but
only stereo. When I try to play a movie with digital audio,
it seems to want to convert everything to LPCM stereo.
That's what my receiver says its receiving. <br>
</blockquote>
<br>
Did you follow the instructions in the ticket? <br>
<br>
<a class="moz-txt-link-freetext"
href="https://code.mythtv.org/trac/ticket/13446#comment:5"
moz-do-not-send="true">https://code.mythtv.org/trac/ticket/13446#comment:5</a>
<br>
<br>
See "To use AudioTrack on Android" in the comment <br>
</blockquote>
<p><br>
</p>
<p>Hi Peter, I am finally updating to version 31 this week and
had saved this thread for when I was able to do the upgrade.
In the notes of the ticket you noted:</p>
<p><br>
</p>
<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<br>
</body>
</html>