You are not logged in.
Whenever I have multiple users trying to access my sound card at the same time, I get nasty "unable_to_open_slave" errors from dmix despite having edited /etc/asound.conf to (supposedly) support multiple users. In my /etc/asound.conf, I have:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0666
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.!default {
type plug
slave.pcm "dmixer"
}The "ipc_perm 0666" and "ipc_key_add_uid false" should make this work properly, according to alsa's wiki, but I've had postiviely no luck. Any ideas?
EDIT: lspci describes my sound card as "00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)"
Last edited by decibelmute (2010-01-11 22:41:04)
Offline
The problem's not solved, but I stopped using mpd, so I no longer have a need to mix audio between users
Pragha's cooler anyways.
Marking topic as solved, even though it's moreover just avoided.
Offline
pcm "hw:0,0"
That should probably be:
pcm "surround20"
Any "hw:whatever" is outputtting directly to the hardware, thereby bypassing dmix.
Offline