LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Configuring alsa for 2 soundcards (https://www.linuxquestions.org/questions/linux-hardware-18/configuring-alsa-for-2-soundcards-595216/)

RazvanZ 10-28-2007 09:40 AM

Configuring alsa for 2 soundcards
 
I need an .asoundrc file to use 2 soundcards. What I need is to use one soundcard to view movies and the other to listen to music. I have an Creative Soundblaster Live 24 Bit and an onboard audio card (nvidia soundstorm - Asus a7n8x-e Deluxe motherboard).

This is my current .asoundrc file(it doesn't work if that wasn't obvious):

############################

pcm.sound-blaster{
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "audigy"
}

pcm.audigy {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 84000
period_size 4096
buffer_size 81920
}
}

pcm.audigyls {
type plug
slave.pcm "surround51"
slave.channels 6
route_policy duplicate
}
pcm.51mix {
type route
slave.pcm surround51
slave.channels 6
# Front-left
ttable.0.0 1
# Front-right
ttable.0.1 1
# Center
ttable.0.2 1.0
ttable.1.3 1.0
# Rear-right
ttable.0.4 1.0
ttable.1.4 1.0
# Rear-left
ttable.0.5 1.0
ttable.1.5 1.0
}
ctl.sound-blaster {
type hw
card 0
}

pcm.nvidia{
type hw
card 1
}
pcm.nforce {
type dmix
ipc_key 5678
slave {
pcm "hw:0,0"
period_time 84000
period_size 4096
buffer_size 81920
}
}
pcm.soundstorm {
type plug
slave.pcm "surround51"
slave.channels 6
route_policy duplicate
}
pcm.51mix {
type route
slave.pcm surround51
slave.channels 6
# Front-left
ttable.0.0 1
# Front-right
ttable.0.1 1
# Center
ttable.0.2 1.0
ttable.1.3 1.0
# Rear-right
ttable.0.4 1.0
ttable.1.4 1.0
# Rear-left
ttable.0.5 1.0
ttable.1.5 1.0
}
ctl.nvidia {
type hw
card 1
}

#######################3

RazvanZ 10-30-2007 05:14 AM

I think the problem is with the ttable configuration, both cards have the same configuration and when I use the one for the nforce I still hear music from the Creative card, also I have to change the names of the pcms for the nvidia card to differ from the creative card. Can someone help me with the ttable configuration.... I can't find the explanations.

RazvanZ 10-31-2007 04:52 AM

Can't anyone help with an .asoundrc config file that works?


All times are GMT -5. The time now is 06:08 PM.