Skip to content

Use default ALSA sound device#2

Open
hackerb9 wants to merge 1 commit into
randyrossi:masterfrom
hackerb9:master
Open

Use default ALSA sound device#2
hackerb9 wants to merge 1 commit into
randyrossi:masterfrom
hackerb9:master

Conversation

@hackerb9

@hackerb9 hackerb9 commented Oct 4, 2020

Copy link
Copy Markdown

This allows the user some control over which sound card is used as
they can set the ALSA_CARD environment variable or edit ~/.asoundrc.

/* ALSA troubleshooting notes.

If ALSA tries to play sound out of the wrong card or if you get an
error, try setting the ALSA_CARD environment variable. For example,
'export ALSA_CARD=1' to use the second sound card detected. Or, you
can use a name like ALSA_CARD=PCH or ALSA_CARD=HDMI. Use 'cat
/proc/asound/card?/id' to see all options.

If you have troubles with PulseAudio interfering, you can try
stopping it with: systemctl --user stop pulseaudio.*
*/

This allows the user some control over which sound card is used as
they can set the ALSA_CARD environment variable or edit ~/.asoundrc.

/* ALSA troubleshooting notes.

   If ALSA tries to play sound out of the wrong card or if you get an
   error, try setting the ALSA_CARD environment variable. For example,
   'export ALSA_CARD=1' to use the second sound card detected. Or, you
   can use a name like ALSA_CARD=PCH or ALSA_CARD=HDMI. Use 'cat
   /proc/asound/card?/id' to see all options.

   If you have troubles with PulseAudio interfering, you can try
   stopping it with: systemctl --user stop pulseaudio.*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant