<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 5, 2018, 12:53 PM John Pilkington <<a href="mailto:johnpilk222@gmail.com">johnpilk222@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/11/18 20:02, Allen Edwards wrote:<br>
> Does anyone know what is wrong with my asound.conf file? Did I put it <br>
> in the wrong place? I think it should work, or would have worked at <br>
> some point in the past at least.<br>
<br>
I gave an indirect reference to paprefs earlier and you said you had <br>
tried it but couldn't recommend it. This was the website that I had <br>
seen. The screenshots look a lot like what I see on my Fedora box <br>
although I don't think it's actually using paprefs.<br>
<br>
"Add virtual output device for simultaneous output on all local sound cards"<br>
<br>
You have to do that and then make it your default device.<br>
<br>
<a href="https://www.maketecheasier.com/play-sound-through-multiple-devices-linux/" rel="noreferrer noreferrer" target="_blank">https://www.maketecheasier.com/play-sound-through-multiple-devices-linux/</a><br>
<br>
I have no way of trying it myself, but it looks as if it could be true.<br>
<br>
John<br>
<br>
> <br>
> I did a test with an asound.conf file<br>
> <br>
> pcm.!default {<br>
> type plug<br>
> slave {<br>
> pcm "hw:0,1"<br>
> format S32_LE<br>
> }<br>
> }<br>
> <br>
> This file worked under mythbuntu8 so I know it is valid. But with this <br>
> file in asound.conf and ASLA default selected, I still got HDMI audio <br>
> and no spdif. Pretty much seems like my asound.conf file was ignored <br>
> and Pulse just did its thing. Without the ability to have an alsa config <br>
> file live, I don't see how I can get this to work on two digital outputs.<br>
> <br>
> Things change and stuff that used to work quits working. I find it <br>
> frustrating and without this support group, MythTV would be unusable IMHO.<br>
> <br>
> Allen<br>
> <br>
> On Fri, Nov 2, 2018 at 1:28 PM John Pilkington <<a href="mailto:johnpilk222@gmail.com" target="_blank" rel="noreferrer">johnpilk222@gmail.com</a> <br>
> <mailto:<a href="mailto:johnpilk222@gmail.com" target="_blank" rel="noreferrer">johnpilk222@gmail.com</a>>> wrote:<br>
> <br>
> On 02/11/18 19:28, Allen Edwards wrote:<br>
> ><br>
> ><br>
> > On Fri, Nov 2, 2018 at 11:15 AM John Pilkington<br>
> <<a href="mailto:johnpilk222@gmail.com" target="_blank" rel="noreferrer">johnpilk222@gmail.com</a> <mailto:<a href="mailto:johnpilk222@gmail.com" target="_blank" rel="noreferrer">johnpilk222@gmail.com</a>><br>
> > <mailto:<a href="mailto:johnpilk222@gmail.com" target="_blank" rel="noreferrer">johnpilk222@gmail.com</a> <mailto:<a href="mailto:johnpilk222@gmail.com" target="_blank" rel="noreferrer">johnpilk222@gmail.com</a>>>> wrote:<br>
> ><br>
> > On 02/11/18 16:38, Allen Edwards wrote:<br>
> > > I have tried and failed to get both HDMI and SPDIF outputs<br>
> > working at<br>
> > > the same time. I can get either one working by using<br>
> > default:pulse and<br>
> > > switching them with the pulse control panel but it would<br>
> be nice<br>
> > to have<br>
> > > them both working without having to get up and go to a<br>
> terminal<br>
> > when I<br>
> > > want to listen to a show with the big sound on.<br>
> > ><br>
> > > In my old system from 10 years ago I had two SPDIF<br>
> outputs, one<br>
> > for the<br>
> > > TV through a converter and one into the surround system. <br>
> At that<br>
> > time<br>
> > > my asound.conf file looked like this:<br>
> > ><br>
> > > pcm.!default {<br>
> > > type plug<br>
> > > slave {<br>
> > > pcm "hw:0,1"<br>
> > > format S32_LE<br>
> > > }<br>
> > > }<br>
> > ><br>
> > ><br>
> > > I tried to follow "Simultaneous Audio Output to Independent<br>
> > Devices" and<br>
> > > eliminate the extraneous stuff and came up with this. <br>
> Note that<br>
> > the TV<br>
> > > gets sound from HDMI and that works but I do not get sound<br>
> on the<br>
> > > surround system.<br>
> > ><br>
> > > dad@NewMyth:~$ more /etc/asound.conf<br>
> > > pcm.!default {<br>
> > > type plug<br>
> > > slave {<br>
> > > pcm "multi_dig"<br>
> > > }<br>
> > > }<br>
> > ><br>
> > > pcm.multi_dig {<br>
> > > type multi<br>
> > > # Define SPDIF slave<br>
> > > slaves.a {<br>
> > > pcm "hw:0,1"<br>
> > > #tried both with and without this next line<br>
> > > format S32_LE<br>
> > > }<br>
> > > # Define HDMI slave<br>
> > > slaves.b {<br>
> > > pcm "hw:1,7"<br>
> > > }<br>
> > > }<br>
> > ><br>
> > > I set Myth setup to asla:default but I only get HDMI<br>
> audio. If I<br>
> > set<br>
> > > myth to play device hw:0,1 I get audio out of the<br>
> surround and<br>
> > if I set<br>
> > > it up to Nvidia HDMI 7 I get output to the TV.<br>
> > ><br>
> > > I tried to look in the Alsa website and read an article on<br>
> multiple<br>
> > > cards and all I understood was that things are probably<br>
> different<br>
> > now<br>
> > > and nothing that used to work will work any more. Maybe<br>
> that is the<br>
> > > problem...<br>
> > ><br>
> > > I am using Muthbuntu 16. Anybody have this working on a<br>
> similar<br>
> > system<br>
> > > and care to share?<br>
> > ><br>
> > > Allen<br>
> ><br>
> > Well, no, I don't have a similar system, but my fedora<br>
> kde/plasma setup<br>
> > has simultaneous audio to HDMI and builtin audio set up as<br>
> default. My<br>
> > /etc/asound.conf is effectively empty.<br>
> ><br>
> > But searching for 'ubuntu simultaneous audio ...' gave a 2018<br>
> reference<br>
> > to paprefs, Pulse Audio Preferences, a graphical utility<br>
> available via<br>
> > apt-get. It might do what you want.<br>
> ><br>
> > John<br>
> ><br>
> ><br>
> > John, How do you have it set up to do HDMI and builtin audio at<br>
> the same<br>
> > time? Is the built in audio digital? I suspect mine gives HDMI and<br>
> > analog although I have not tried it as that is not what I want.<br>
> ><br>
> > I tried paprefs I will spare you the details but let's just say I<br>
> would<br>
> > not recommend it.<br>
> ><br>
> > Allen<br>
> <br>
> Pity about that. My audio devices are the GK208 nvidia HDMI2 device in<br>
> a GT 710 card and the Built-in audio stereo in the 10-year old HP<br>
> core2duo. lspci shows 01:00.1 and 00:1b.0 The configuration is<br>
> through<br>
> a kde/plasma widget 'Audio Volume' with a virtual output device in its<br>
> 'Advanced ' tab. The details seem to have changed since my f27/28<br>
> upgrade and may not translate to *buntu anyway :-(<br>
> <br>
> <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">I tried it and selected the simulatenious outputs. The spdif output was choppy and myth itself became unstable ie crashed. That is why I would not recommend it.</span><br></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Maybe I should try again.</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Allen</span></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div>