<div><div><div><div><div><div class="gmail_quote">On Sun, Jan 22, 2012 at 7:13 PM, Jean-Yves Avenard <span dir="ltr">&lt;<a href="mailto:jyavenard@gmail.com">jyavenard@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">

Hi<br>
<div class="im"><br>
On 23 January 2012 13:51, Daniel Osborne &lt;<a href="mailto:myth@danielosborne.net">myth@danielosborne.net</a>&gt; wrote:<br>
&gt; Until today, I was using only analog surround sound in mythtv.<br>
&gt; Since I finally got audio over HDMI working, I want to use it for normal TV<br>
&gt; watching.<br>
&gt; I only want to use the surround sound system for watching movies now<br>
&gt; (previously was used for all sound).<br>
&gt;<br>
&gt; I was able to get both digital and analog output simultaneously with an<br>
&gt; asoundrc I got from: <a href="http://forum.xbmc.org/showpost.php?p=418455&amp;postcount=4" target="_blank">http://forum.xbmc.org/showpost.php?p=418455&amp;postcount=4</a><br>
&gt; However this only works with stereo sound. How can I change this to allow<br>
&gt; surround sound over analog (I don&#39;t really care how many channels are on<br>
&gt; HDMI, but downmix ideally atm)?<br>
<br>
</div>You won&#39;t be able to do this within mythtv<br>
<br>
Why don&#39;t you create a plug device that sends all audio channels via<br>
hdmi? the TV while only supporting stereo, should be able to do the<br>
required downstream<br>
<br>
You will never be able to do digital passthrough with this method.<br>
<br>
But LPCM will work<br>
<div class="im"><br>
&gt;<br>
&gt; I&#39;ve tried changing a few things, but when I try to test with speaker-test,<br>
&gt; it just gives me an error (typically):<br>
&gt; mythtv@dragon ~ $ speaker-test -c2 -r48000 -Dplug:both<br>
&gt;<br>
&gt; speaker-test 1.0.24.2<br>
&gt;<br>
&gt; Playback device is plug:both<br>
&gt; Stream parameters are 48000Hz, S16_LE, 6 channels<br>
&gt; Using 16 octaves of pink noise<br>
&gt; ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable<br>
&gt; Broken configuration for playback: no configurations available: Invalid<br>
&gt; argument<br>
&gt; Setting of hwparams failed: Invalid argument<br>
<br>
</div>you&#39;re plug is a 6 channels audio device, you&#39;re trying to open it<br>
with two channels.<br>
<br>
it will not work<br>
<br>
What is your definition of the plug device?<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div></div></div></div></div><div>Thanks for the reply.<div><br><div>If you see the attachment, it has everything (I have no system-wide asound.conf). <div><br><div>I never said I wanted to configure it mythtv (I know I can&#39;t, but the end result is playback from mythtv).</div>

<div>I&#39;m indeed trying to create a plug device (again, see attachment, plug is called &quot;both&quot;).</div><div>Plus, I already said I had it working, I just want to expand it to 5.1.</div><div><br></div><div>speaker-plug -c2 WILL work on a 6ch system, it will just go over 2 channels (Front L/R, works as such with plug:surround51). However, that is indeed the wrong command for testing surround sound, I should use -c6.</div>

<div>With either option, the command throws the same error anyway.</div><div><br><div>Daniel<br><br></div></div></div></div></div></div>