You are not logged in.

#1 2009-12-08 22:50:07

decibelmute
Member
From: ~/
Registered: 2009-11-27
Posts: 12
Website

[SOLVED] Dmixing Between Users Does not Work

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

#2 2010-01-11 22:40:14

decibelmute
Member
From: ~/
Registered: 2009-11-27
Posts: 12
Website

Re: [SOLVED] Dmixing Between Users Does not Work

The problem's not solved, but I stopped using mpd, so I no longer have a need to mix audio between users tongue Pragha's cooler anyways.
Marking topic as solved, even though it's moreover just avoided.

Offline

#3 2010-01-12 07:19:35

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Dmixing Between Users Does not Work

decibelmute wrote:

pcm "hw:0,0"

That should probably be:
pcm "surround20"

Any "hw:whatever" is outputtting directly to the hardware, thereby bypassing dmix.

Offline

Board footer

Powered by FluxBB