<!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">
<br>
<br>
Misty P wrote:
<blockquote cite="mid010601c8ac4f$b73aff70$650012ac@wideload"
 type="cite">
  <pre wrap="">Richard Woelk wrote:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Misty,
   It took me a lot of searching to find this asound.conf (attached)
but it is working on my folks' Mythtv. I think most of it is
overkill,
but it works for me so I haven't tried to clean it up. They are
using a nForce2 based shuttle board with onboard audio. It uses the
snd_intel8x0 module

In the mythtv settings page, you have to set the audio output to
ALSA:default.
Make sure that AC3 &amp; DTS passthrough are checked and the passthrough
device to ALSA:iec958:{ AES0 0x02 }

Recordings from the PVR-250 and mythmusic work simultaneously from
analog and digital outputs.
AC3 and DTS tracks from mythdvd (or digital recordings.) are sent
directly out the SPDIF output and the analog is muted
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
Ahh, thanks for that!

It doesn't quite work for me, though...  Things with PCM audio wind up going 
out the analog, and it's *trying* to go out through the SPDIF but something 
is amiss.  (The SPDIF light keeps coming on and going out on the receiver.) 
AC3 does work exactly as you describe.

Unfortunately, since I'm all ATSC OTA, 80% or better of my content has AC3 
on it.  (Or worse, is AC3 except for the commercials...  yuck!)

I guess what I'm trying to do just isn't possible under linux.  (Which seems 
insane, because I do it under windows!)  Thanks for the help, though.


  </pre>
</blockquote>
Misty, <br>
&nbsp;&nbsp;&nbsp; If you uncheck the passthrough boxes in the mythfrontend setup
screens, then Mythtv won't pass AC3 to the SPDIF, the stream will be
decoded&nbsp; internally and output as 2 channel PCM. <br>
<br>
I'm not sure why the PCM isn't working correctly, it sounds like its
trying. <br>
<br>
on Line 164, you have to change device 2 to device 1 (judging from your
.asoundrc that you posted)<br>
<br>
you can also try this. <br>
at line 54, you can configure what is default. Maybe try changing that
to digital-hw instead of dmix-analog<br>
It will prevent other sounds from interfering. You can also use these 4
device names directly in mythtv <br>
<br>
analog<br>
mixed-analog<br>
digital<br>
mixed-digital<br>
<br>
It is impossible, as far as I've seen, in windows, to output AC3 over
SPDIF and decode to analog simultaneously. <br>
<br>
- Richard<br>
<br>
<br>
<br>
</body>
</html>