<br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 5:57 AM, Phil Wild <span dir="ltr">&lt;<a href="mailto:philwild@gmail.com">philwild@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

2009/11/9 Per Olausson &lt;<a href="mailto:per.olauzzon@googlemail.com">per.olauzzon@googlemail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi. I am running Mythtv on ubuntu (mythubuntu) after getting rid of my<br>
&gt; previous setup based on gentoo (it was getting too demanding keeping up).<br>
&gt;<br>
&gt; On gentoo I used to (I believe) have digital audio all up and running fine,<br>
&gt; yet on this new setup I am scratching my head and becoming very frustrated.<br>
&gt;<br>
&gt; I have followed the wiki, other guides here and there and everywhere but not<br>
&gt; getting anywhere. I have 18 years experience on Unix/Linux so I know what I<br>
&gt; am doing. I think.<br>
&gt;<br>
&gt; Right. I cannot get digital audio playback working when watching something<br>
&gt; live on TV. Everything else appears to work.<br>
&gt;<br>
&gt; I get silence or cracks/squeaks. I have checked the board (DVB-C) and it is<br>
&gt; capable of AC3. Is there some kind of magic required to ensure that when<br>
&gt; recording or viewing something with AC3 the board is indeed getting the<br>
&gt; right sound out?<br>
&gt;<br>
&gt; I have played around with test.ac3 output and cannot get that to work<br>
&gt; neither. So I am assuming that something is wrong with my ALSA setup, but<br>
&gt; what I don&#39;t know. It is a nforce3 based board, I have an asoundrc file in<br>
&gt; my home directory etc.<br>
&gt;<br>
&gt; Does anyone have a minute/ideas or could point to a guide that certifiably<br>
&gt; works? It would be much appreciated.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Per<br>
</div></div>I have the following also config file /etc/asound.conf<br>
<br>
leave all mythtv settings as the defaults<br>
<br>
phil@echo:~$ cat /etc/asound.conf<br>
pcm.dmixer {<br>
   type dmix<br>
   ipc_key 1024<br>
   ipc_key_add_uid false<br>
   ipc_perm 0660<br>
   slave {<br>
      pcm &quot;hw:0,3&quot;<br>
      rate 48000<br>
      channels 2<br>
      format S32_LE<br>
      period_time 0<br>
      period_size 1024<br>
      buffer_time 0<br>
      buffer_size 4096<br>
   }<br>
}<br>
<br>
pcm.!default {<br>
   type plug<br>
   slave.pcm &quot;dmixer&quot;<br>
}<br>
<br>
<br>
Change the line that says pcm &quot;hw:0,3&quot; to match the output you are<br>
using on your system (look at aplay -l and using card 0 device 3 on my<br>
setup)<br>
<br>
Cheers<br>
<font color="#888888"><br>
Phil</font></blockquote><div><br></div><div>Interesting file.  In any event, I don&#39;t think the system will use it as long as he has the other file in his home directory so the op needs to delete that file or put this stuff there.</div>

<div><br></div><div>When the op said he has looked at all the wiki&#39;s, he isn&#39;t following mine or he would not have the file in his home directory.</div><div><a href="http://www.mythtv.org/wiki/AllensDigitalAudioHowto">http://www.mythtv.org/wiki/AllensDigitalAudioHowto</a></div>

<div><br></div><div>Allen </div></div>