How to configure a default soundcard

kpfuser kpfuser at
Sat Aug 18 06:14:58 UTC 2007


Somehow to just say "thanks" doesn't  seem enough  in your case but I don't know what else to say. With this in mind,

Thanks a lot! 

Charles philip Chan <cpchan at> wrote: kpfuser  writes:

> Could you be kind enough to let me know the meaning of each line of
> text entered into /etc/asound.conf?


> pcm.!default

You are setting up a default ALSA device. You can define as many devices
as you like for different cards (if you have more than one) and for
different purposed. Howver, there can only be one default device.

> type hw

You are telling ALSA to output directly to hardware. Instead of going
through an ALSA plugin for extra processing such as changing sample
rate (rate), software mixing (dmix), etc:

> card 1

You are telling ALSA your default soundcard is card number 2 (0 is the
first card).
> ctl.!default {
>        type hw
>        card 1
> }  

You are telling ALSA that the default controls are for card number 2.


The only "intuitive" interface is the nipple.  After that, it's all learned.
  -- Bruce Ediger, bediger at, on X interfaces

ubuntu-users mailing list
ubuntu-users at
Modify settings or unsubscribe at:

 Real people. Real questions. Real answers. Share what you know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list