<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 11:15 AM 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 02/11/18 16:38, Allen Edwards wrote:<br>
> I have tried and failed to get both HDMI and SPDIF outputs working at <br>
> the same time. I can get either one working by using default:pulse and <br>
> switching them with the pulse control panel but it would be nice to have <br>
> them both working without having to get up and go to a terminal 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 outputs, one for the <br>
> TV through a converter and one into the surround system. At that 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 Devices" and <br>
> eliminate the extraneous stuff and came up with this. Note that the TV <br>
> gets sound from HDMI and that works but I do not get sound 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 audio. If I set <br>
> myth to play device hw:0,1 I get audio out of the surround and 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 multiple <br>
> cards and all I understood was that things are probably different now <br>
> and nothing that used to work will work any more. Maybe that is the <br>
> problem...<br>
> <br>
> I am using Muthbuntu 16. Anybody have this working on a similar system <br>
> and care to share?<br>
> <br>
> Allen<br>
<br>
Well, no, I don't have a similar system, but my fedora kde/plasma setup <br>
has simultaneous audio to HDMI and builtin audio set up as default. My <br>
/etc/asound.conf is effectively empty.<br>
<br>
But searching for 'ubuntu simultaneous audio ...' gave a 2018 reference <br>
to paprefs, Pulse Audio Preferences, a graphical utility available via <br>
apt-get. It might do what you want.<br>
<br>
John</blockquote><div><br></div><div>John, How do you have it set up to do HDMI and builtin audio at the same time? Is the built in audio digital? I suspect mine gives HDMI and analog although I have not tried it as that is not what I want.</div><div><br></div><div>I tried paprefs I will spare you the details but let's just say I would not recommend it.</div><div><br></div><div>Allen</div></div></div>