Difference between revisions of "ALSA"

652 bytes added ,  5 years ago
Merged content from Setting_the_Default_Sound_Device
imported>Dalto
(Generalize article to serve as a page for ALSA-related content)
imported>Dalto
(Merged content from Setting_the_Default_Sound_Device)
Line 23: Line 23:


If all is working, you should now have sound in Firefox without needing pulseaudio
If all is working, you should now have sound in Firefox without needing pulseaudio
=Selecting the Primary Audio Device=
If your system keeps on using the wrong device (HDMI instead of PCH or vica versa for example), you can force ALSA to use the correct device.  Start by getting a list of your audio devices with the command:
cat /proc/asound/cards
Note the number of the sound device that you want to make the primary. Then using a [[Viewing_and_editing_configuration_files|text editor]], put the following into '''/etc/asound.conf''' (You may need to create '''/etc/asound.conf''' if it doesn't already exist).
  defaults.pcm.card 1
  defaults.ctl.card 1
Replace 1 in the above example with the number you noted down above.




Anonymous user