LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ALSA - setting default soundcard (https://www.linuxquestions.org/questions/linux-hardware-18/alsa-setting-default-soundcard-187315/)

dave_starsky 05-29-2004 09:24 AM

ALSA - setting default soundcard
 
I am running SuSE 9.1 Pro, I can get sound to work perfectly through arts with KDE, by overriding the default soundcard and using hw:0,1 with ALSA. I can get sound perfectly in xmms, gaim, and xine, which is good. However, in apps where I can't use arts it uses the default in ALSA. I'd like to change this default to hw:0,1. Firstly I ran alsaconf, but that did nothing. Then I tried to set it up in YaST, no luck there.

Finally I tried using a ~/.asoundrc file which contained the following
Code:

pcm.!default{
card 0
device 1
}

I also tried adding:
Code:

ctl.!default{
card 0
device 1
}

but this didn't solve the problem. Does anyone know how I can make alsa use hw:0,1 by default?


All times are GMT -5. The time now is 07:08 PM.