I like being able to play multiple audio steams at the same time through one sound card.
First, run (as root):
# system-config-soundcard
This will create a /etc/asound.conf file based on your soundcard (mine is the intel-hda card).
(this is what mine looked like:)
#Generated by system-config-soundcard, do not edit by hand #SWCONF #DEV 0 defaults.pcm.card 0 defaults.pcm.device 0 defaults.ctl.card 0
After running the above command, I had to add some dmix (software sound mixing) settings to my /etc/asound.conf 1):
pcm “hw:0,0” in the pcm.dmixer configuration area to match your default card
#Generated by system-config-soundcard, do not edit by hand
#SWCONF
#DEV 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0
pcm.card0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 4096
buffer_size 16384
periods 128
rate 44100
}
bindings {
0 0
1 1
}
}