Software Sound Mixing
From MEPIS Documentation Wiki
[edit]
Software Sound Mixing
- One of the biggest complaints heard about Linux's sound system is its inabillity to play multiple sounds at once. The reason for this is the software expects your hardware to do the mixing for you. However, only expensive cards do this. If you put the file below into your home folder as the file .asoundrc it will tell the software to do the mixing. However, some applications are known to ignore this
## begin .asoundrc
pcm.my_card {
type hw
card 0
# mmap_emulation true
}
pcm.dmixed {
type dmix
ipc_key 1024
slave {
pcm "my_card"
# rate 48000
# period_size 512
}
}
pcm.dsnooped {
type dsnoop
ipc_key 2048
slave {
pcm "my_card"
# rate 48000
# period_size 128
}
}
pcm.asymed {
type asym
playback.pcm "dmixed"
capture.pcm "dsnooped"
}
pcm.pasymed {
type plug
slave.pcm "asymed"
}
pcm.dsp0 {
type plug
slave.pcm "asymed"
}
pcm.!default {
type plug
slave.pcm "asymed"
}
## end .asoundrc
If the above file does not work, you can try tro create a .asoundrc file with the following content, which is known to work with Intel HDA on board audio chips.
## begin .asoundrc
pcm.CARD_0 {
type hw
card 0
}
ctl.CARD_0 {
type hw
card 0
}
## end .asoundrc
[edit]
Check user's group permissions
- A user experiencing sound problems must be a member of the "audio" group.
To check group membership: Issue the following command from the command line:
groups username
To add user to a group: As root, issue the following command from the command line:
usermod -G audio -a username
Sound howto | FAQ | Main Page

