I have two soundcards, an integrated alc850 (nforce chipset) and an sb
pci128 (ens1370). Both of them don't support hardware mixing :-( so I
tried to configure dmix for each card.
I use alsa 1.0.10 under debian testing.
I want to start two dmix instances, one for each card, but I noticed
this behaviour: dmix is started for the first used card, and the dmix
device of the other card don't work and viceversa. When using dmix for
one card, I can use without dmix the other.
It's an ipc_key problem? It's a design decision of dmix? Any alternative?
Thanks,
Emilio Scalise
This is my /etc/asound.conf:
############## Card 0 ##############################################
# output software mixing
pcm.dmixer0 {
type dmix
ipc_key 5678292
ipc_key_add_uid yes
slave {
pcm "hw:0,0"
period_time 0
period_size 128
buffer_size 4192
format S16_LE
rate 48000
}
}
# input software mixing
pcm.dsnooper0 {
type dsnoop
ipc_key 5778292
ipc_key_add_uid yes
slave {
pcm "hw:0,0"
period_time 0
period_size 128
buffer_size 4192
format S16_LE
rate 48000
}
}
# full duplex software mixed device
pcm.asymed0 {
type asym
playback.pcm "dmixer0"
capture.pcm "dsnooper0"
}
#for aoss:
pcm.dsp0 {
type plug
slave.pcm "asymed0"
}
ctl.mixer0 {
type hw
card 0
}
############### end of card 0 ######################################
############## Card 1 ##############################################
# output software mixing
pcm.dmixer1 {
type dmix
ipc_key 5678291
ipc_key_add_uid yes
slave {
pcm "hw:1,0"
period_time 0
period_size 128
buffer_size 4192
format S16_LE
rate 48000
}
}
# input software mixing
pcm.dsnooper1 {
type dsnoop
ipc_key 5778291
ipc_key_add_uid yes
slave {
pcm "hw:1,0"
period_time 0
period_size 128
buffer_size 4192
format S16_LE
rate 48000
}
}
# full duplex software mixed device
pcm.asymed1 {
type asym
playback.pcm "dmixer1"
capture.pcm "dsnooper1"
}
#for aoss:
pcm.dsp1 {
type plug
slave.pcm "asymed1"
}
ctl.mixer1 {
type hw
card 1
}
############### end of card 1 ######################################
############### default section ####################################
# assign the default pcm to card 0
pcm.!default {
type plug
slave.pcm "asymed0"
}
############# end of default section ##############################
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user