<html>
<body>
Hello,<br><br>
I have installed mythbuntu 8.04 to replace windows xp media center 2005
and are encountering an issue with it.&nbsp; I've got an a8n-sli deluxe
motherboard with realtek ac'97 compatible alc850 builtin motherboard
audio.&nbsp; I can play back music in mythmusic if my .asoundrc file is
this:<br><br>
<font face="Courier New, Courier" size=2>pcm.nforce-hw {<br>
type hw<br>
card 0<br>
}<br><br>
pcm.!default {<br>
type plug<br>
slave.pcm &quot;nforce&quot;<br>
}<br><br>
pcm.nforce {<br>
type dmix<br>
ipc_key 1234<br>
slave {<br>
pcm &quot;hw:0,0&quot;<br>
}<br>
}<br><br>
ctl.nforce-hw {<br>
type hw<br>
card 0<br>
}<br><br>
</font>Here are the settings that are used in mythtv:<br><br>
Audio output device: ALSA:default<br><br>
Passthrough output device: Default<br><br>
Max Audio Channels: 5.1 Upmix: Passive<br><br>
x Enable AC3 to SPDIF passthrough<br>
x Enable DTS to SPDIF passthrough <br><br>
But then sending out the audio through xine doesn't work when playing
back dvd's.&nbsp; Unless of course I use this for an .asoundrc
file.<br><br>
<font face="Courier New, Courier" size=2>pcm.!default {<br>
type hw<br>
card 0<br>
device 2<br>
## Uncomment the following to use &quot;mixed-analog&quot; by
default<br>
# slave.pcm &quot;dmix-analog&quot;<br>
## Uncomment the following to use (unmixed) &quot;digital&quot; by
default<br>
slave.pcm &quot;digital-hw&quot;<br>
## Uncomment the following to use &quot;mixed-digital&quot; by
default<br>
# slave.pcm &quot;dmix-digital&quot;<br>
}<br><br>
# Alias for digital (S/PDIF) output on the card<br>
# Do not use this directly--it requires specific rate, channels, and
format<br>
pcm.digital-hw {<br>
type hw<br>
card 0<br>
# device 1<br>
# - Comment out &quot;device 1&quot; above and uncomment one of the below
or create a new &quot;device N&quot; line as appropriate for your sound
card or device 2<br>
# device 4<br>
}<br><br>
</font>The sound then is sent out properly with ac3/dts being sent out
compressed and mpeg2 being sent out uncompressed.&nbsp; Here is the
command I use to launch xine:<br><br>
<font face="Courier New, Courier" size=2>xine dvd:// -F -V xv -A
alsa:device=hw=0,2 --no-splash --no-gui --no-mouse --borderless<br><br>
So what I want to do is since the uncompressed audio has to go through
&quot;hw:0,0&quot;, can I up convert that using stereo up mix and encode
it to ac3 automatically in real time and then put that compressed ac3
through the spdif plug which is &quot;hw:0,2&quot;.&nbsp; I have verified
that I am sending audio as pass through in xine.<br><br>
I've been searching for how to do this for the past 2 weeks and are
hoping someone else has already done it so that I can just change the
.asoundrc file settings so that both will work.&nbsp; I'm currently
running a bash script to copy each version of .asoundrc depending on what
I want to do at the time with my mythtv box.&nbsp; I was able to do it in
windows media center 2005 easily enough, can I do it in linux?&nbsp;
Thanks.</font></body>
</html>