How can I make Chromium use a different ALSA device?
First, use aplay -l
to get the identifier of the alternative sound card you want to use. In the following example, it's AUDIO
.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: AUDIO [USB AUDIO], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Next, create an alternative ALSA configuration file (I used .asoundrc.usb
) and fill it with the following content (based on a solution for a similar problem). Don't forget to replace AUDIO
with the identifier you obtained in the previous step.
pcm.usb { type hw; card AUDIO; }
ctl.usb { type hw; card AUDIO; }
pcm.!default pcm.usb
ctl.!default ctl.usb
The only thing left is to modify the startup (desktop or menu shortcut, script, alias, etc.) of your browser to set the ALSA_CONFIG_PATH
environment variable (documented on the ALSA project page) to the file you created.
Related videos on Youtube
Klaus
Updated on September 18, 2022Comments
-
Klaus almost 2 years
I use the cascade bootstrap plugin and like it very much. Now i need to add additional classes to the rows and columnes for styling it more precisely via css. I would like to add style or id -fields to the cascade plugin. I thought the simpliest way is subclassing the cascade plugin but I cant find any way for doing this and I dont find the right place in the docs. Maybe you can give me a hint or point me in the right direction.This is my first djangocms project, I moved from zope.
Any tip or help is appreciated!
Regards, Klaus