View previous topic :: View next topic |
Author |
Message |
WyriHaximus n00b
Joined: 08 Jan 2004 Posts: 56 Location: koedijk(alkmaar), The Netherlands
|
Posted: Tue Jan 11, 2005 1:49 pm Post subject: ALSA sound problem no 2 sounds at the same time |
|
|
Hi,
I have a problem with ALSA. I can't listen music and hear when someone comes online on MSN. This is my /etc/modules.d/alsa
Code: |
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
alias snd-card-0 snd_intel8x0
#alias snd-card-0 snd_via82xx
alias sound-slot-0 snd-card-0
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
|
Has anyone an idee how to fix this?
Grtz,
WyriHaximus |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Tue Jan 11, 2005 2:04 pm Post subject: |
|
|
Either use a dedicated sound server like esound or arts, or search these forums for the "dmix" Alsa mixer plugin. Works well for me. This is my ~/.asoundrc from my nforce3-based laptop (which uses the intel8x0 driver module): Code: | pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
} |
Håkan |
|
Back to top |
|
|
WyriHaximus n00b
Joined: 08 Jan 2004 Posts: 56 Location: koedijk(alkmaar), The Netherlands
|
Posted: Tue Jan 11, 2005 10:03 pm Post subject: |
|
|
Hi,
That didn't work. And with dmix I got half of my applications and games working it.
A friend and class mate (he got my onto gentoo ^_^) told my that alsa is capable of this natively. But how?
Grtz,
WyriHaximus |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Tue Jan 11, 2005 10:32 pm Post subject: |
|
|
The dmix plugin is a part of Alsa. If you mean hardware mixing, that's only supported on a few soundcards, like the SB Live.
Håkan |
|
Back to top |
|
|
|