How to configure a default soundcard

kpfuser kpfuser at yahoo.com.sg
Sat Aug 18 06:14:58 UTC 2007


Charles,

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 sympatico.ca> wrote: kpfuser  writes:

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

Sure.

> 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:

http://alsa.opensrc.org/index.php/ALSA_plugins

> 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.

Charles

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

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


       
---------------------------------
 
 Real people. Real questions. Real answers. Share what you know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070818/98ae0bff/attachment.html>


More information about the ubuntu-users mailing list