ALSA Default Sound Card

Kenny Hitt kenny at hittsjunk.net
Sat Dec 29 05:29:00 EST 2007


Hi.  Once you install Ubuntu to your hd, you can use an .asoundrc file to set the default card for your user account.
My file looks like:

pcm.!default {
    type hw
    card 1
}
ctl.!default {
    type hw
    card 1
}


Be aware OSS apps will still use card 0.  If you put the above in /etc/asound.conf, it will make card 1 the default system
wide for all alsa apps.  Once again, OSS apps will still use card 0 since they write to /dev/dsp and card 1 is /dev/dsp1.

Hope this helps.
          Kenny






More information about the Speakup mailing list