1) use jackd for ardour (and possibly xmms through xmms-jack)
2) use dmix for desktop-sounds (licq)
3) use arts for my girlfriend's KDE session started from gdmflexi
The reason for wanting this is that it provides maximum flexibility without reconfiguring for any of the 3 uses.
I have an ens1371 card and 2.6.1-kernel alsa, which has 2 DACs, DAC1 (hw:0,0) and DAC2 (hw:0,1).
My idea is this setup:
1) run jackd on hw:0,0
2) define a dmix'ed alsa pcm slave that mixes everything directed to alsa device dmixed to hw:0,1
3) run artsd on the dmixed device
4) be able to use aplay -d dmixed (i.e. it is mixed together with the output of artsd)
So far I got everything working, except that artsd keeps silent, although the debug-output (artsplay -l0 ....) shows that everything should work fine.
This is my asound.conf
Code: Select all
pcm.dsp0 {
type hw
card 0
device 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid true
slave {
pcm {
type hw
card 0
device 1
}
period_time 0
period_size 1024
buffer_size 8192
periods 128
format S16_LE
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.card0 {
type hw
card 0
}
Arternatively I was considering to define an alsa-plugin for jackd, as explained on http://www.alsa-project.org/alsa-doc/do ... le=ens1371
,but then I'd need to have the jackd sockets available to all users... Is there any way to achieve this

