[LAU] Setting HDMI as default in asoundrc and getting Firefox to use this default

Jeanette C. julien at mail.upb.de
Mon Apr 18 00:21:04 CEST 2022


Hi Joel,
this is more informed guess work, so take it with a pinch of salt, but it 
maybe worth the effort.

First try to create a plug device for your HDMI:
pcm.my_hdmi {
   type plug
   salve { plughw:CARD=PCH,DEV=3 }
}

Now create your !default with dmix:
pcm.!default {
   type dmix
   slave { my_hdmi }
}

Perhaps you can even shorten it to putting the
plughw:CARD=PCH,DEV=3
inside the default dmix device.

I know that getting all this to work with Firefox and GUI can be cumbersome. 
Perhaps pulse might be in the way, but I know much less about Pulse than ALSA. 
Still the plughw, which converts samplerates may help.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

I thought love was just a tingling of the skin <3
(Britney Spears)


More information about the Linux-audio-user mailing list