<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Kingsley Turner wrote:
<blockquote cite="mid:493BA7F3.40708@krt.com.au" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Allen Edwards wrote:<br>
  <blockquote
 cite="mid:39eba8470812062355k45637034pc2c38139e1fd6eb4@mail.gmail.com"
 type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">I have configured Myth to use
   "alsa:default" for audio,
and "ALSA:iec958:{AES0 0x02}" as the SPDIF output device.
Obviously the two checkboxes for sending AC3 and DTS sound out via SPDIF
are checked.

Mplayer works fine with: -ao alsa:device=iec958 hwac3
VLC works fine with: --spdif    (oh, *so* easy!)
          </pre>
          </blockquote>
          <pre wrap="">Have you tried just "alsa:iec958" in Myth?
        </pre>
        </blockquote>
        <pre wrap="">Rename or delete asound.conf and .asoundrc.
Set the passthrough device to ALSA:iec958:{ AES0 0x02 }
Audio output device to ALSA:spdif.
If you are running Fedora, get rid of Pulse Audio (not
trivial apparently).
Turn on iec958 in alsamixer
      </pre>
      </blockquote>
      <pre wrap="">This is basically what I have already, except using ALSA:default instead
of ALSA:spdif.
I tried "ALSA:spdif", and got the same result.

However I did notice that the digital sound (DD5.1 / playing DVD) seemed
to be dropping in and out (according to the LED on the amp. anyway) and
occasionally we'd get a split-second of sound before it dropped back to
silence.  After changing back to ALSA:default I notice this is happening
here also.  I'd guess it's not keeping up with the sound output or
something, maybe some kind of buffering thing ??!  ("Agressive Sound
card buffering" is turned OFF).
    </pre>
    </blockquote>
    <pre wrap="">Sorry, my reply was not complete:
Output ALSA:spdif
Passthrough device  ALSA:iec958:{ AES0 0x02 }
max Audio: Stereo (other setting is broken)
Upmix: Passive
Aggressive: unchecked
Internal Volume: I have it unchecked but I think it may work checked as well
Enable AC3 and DTS both checked.

Hopefully you didn't have max audio set to stereo and this will fix
your problem</pre>
  </blockquote>
I already had this set to stereo, but I read somewhere else it doesn't
effect digital out?<br>
  <br>
Anyway, I just solved it this second:<br>
  <br>
A quick little sentence in the MythTV wiki nailed it:<br>
  <br>
  <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF">http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF</a>
-<br>
  <br>
&lt;quote&gt;<br>
If "Use
video as timebase" is checked, you will get stuttering audio output or
not audio at all. "Use video as timebase" <b>must</b> be unchecked if
you want
AC3 audio to work. <br>
&lt;/quote&gt;<br>
  <br>
Just an offhand sentence, but *so* important!<br>
  <br>
I don't know how I missed it, maybe because there's so many documents
on this, after you read a few of them you start to gloss-over them, not
reading properly.&nbsp; Guess I was punished for my own lack of thoroughness.<br>
  <br>
Although, I wish the UI would give you a warning about this or
something.... ;)<br>
  <br>
thanks to everyone for their help!<br>
  <br>
</blockquote>
<br>
Interestingly I rebooted the box this morning after playing around with
the lirc/imon stuff<br>
<br>
I found that all audio in Myth stopped working (except playback of
video, which is mplayer).&nbsp; I changed the audio output device from
ALSA:default to ALSA:spdif .&nbsp;&nbsp; I don't know why it would suddenly
become not working again, but the change fixed it.<br>
<br>
cheers,<br>
-kt<br>
<br>
</body>
</html>