On Nov 8, 2007 8:37 PM, Bob &lt;<a href="mailto:mythtv@cox.net">mythtv@cox.net</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">James Fidell wrote:<br>&gt; I have everything working fine with normal stereo sound, so I thought<br>&gt; I&#39;d finally get around to trying to get AC3 passthrough working on my<br>&gt; main front-end.
<br>&gt;<br>&gt; I&#39;m following the guidelines in the wiki at<br>&gt;<br>&gt; &nbsp; <a href="http://mythtv.org/wiki/index.php/DigitalSoundHowTo" target="_blank">http://mythtv.org/wiki/index.php/DigitalSoundHowTo</a><br>&gt;
<br>&gt; <a href="http://mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF" target="_blank">http://mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF</a><br>&gt;<br>&gt; but when testing with mplayer (using an ISO rip of a DVD) mplayer
<br>&gt; spews a52 CRC errors, plays choppy sound and can&#39;t display the video<br>&gt; properly either.<br>&gt;<br>&gt; I&#39;ve tried changing the mythtv config as suggested and playing the same<br>&gt; iso back with the internal player but get no sound at all. &nbsp;In &quot;normal&quot;
<br>&gt; stereo mode, playback is fine on both video and audio.<br>&gt;<br>&gt; I think first I need to confirm that I can play back properly through<br>&gt; the SPDIF connector outside mythtv. &nbsp;Is there another easy way to do
<br>&gt; that?<br><br></div></div>Try speaker-test:<br><br><a href="http://alsa.opensrc.org/index.php/Speaker-test" target="_blank">http://alsa.opensrc.org/index.php/Speaker-test</a><br><br>There are a lot of options, more than the web page indicates. &nbsp;I was
<br>never able to get speaker test to make pink noise through 6 speakers,<br>but I do have surround sound working.</blockquote><div><br>Unfortunately, speaker-test doesn&#39;t have anything to do with S/PDIF or IEC958 passthrough. It can produce test sounds for two channels through a digital output just like for analog stereo output, but James Fidell said he already had regular stereo (I assume PCM) working.
<br><br>I found that configuring passthrough was much simpler than the Wiki describes. I believe all I had to do was to add &quot;-afm hwac3&quot; for mplayer and select &quot;ALSA:iec958:{ AES0 0x02 }&quot; in the &quot;Passthrough output device:&quot; listbox in the MythTV configuration. I have no idea what &quot;{ AES0 0x02 }&quot; means, but it seems to be correct for AC3 passthrough.
<br><br>Jonathan Rogers<br></div></div><br>