<div><div><div><div><div><div class="gmail_quote">On Sun, Jan 22, 2012 at 7:13 PM, Jean-Yves Avenard <span dir="ltr"><<a href="mailto:jyavenard@gmail.com">jyavenard@gmail.com</a>></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 <<a href="mailto:myth@danielosborne.net">myth@danielosborne.net</a>> wrote:<br>
> Until today, I was using only analog surround sound in mythtv.<br>
> Since I finally got audio over HDMI working, I want to use it for normal TV<br>
> watching.<br>
> I only want to use the surround sound system for watching movies now<br>
> (previously was used for all sound).<br>
><br>
> I was able to get both digital and analog output simultaneously with an<br>
> asoundrc I got from: <a href="http://forum.xbmc.org/showpost.php?p=418455&postcount=4" target="_blank">http://forum.xbmc.org/showpost.php?p=418455&postcount=4</a><br>
> However this only works with stereo sound. How can I change this to allow<br>
> surround sound over analog (I don't really care how many channels are on<br>
> HDMI, but downmix ideally atm)?<br>
<br>
</div>You won't be able to do this within mythtv<br>
<br>
Why don'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>
><br>
> I've tried changing a few things, but when I try to test with speaker-test,<br>
> it just gives me an error (typically):<br>
> mythtv@dragon ~ $ speaker-test -c2 -r48000 -Dplug:both<br>
><br>
> speaker-test 1.0.24.2<br>
><br>
> Playback device is plug:both<br>
> Stream parameters are 48000Hz, S16_LE, 6 channels<br>
> Using 16 octaves of pink noise<br>
> ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable<br>
> Broken configuration for playback: no configurations available: Invalid<br>
> argument<br>
> Setting of hwparams failed: Invalid argument<br>
<br>
</div>you're plug is a 6 channels audio device, you'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't, but the end result is playback from mythtv).</div>
<div>I'm indeed trying to create a plug device (again, see attachment, plug is called "both").</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>