Simultanious sound output for multiple users

Simultanious sound output for multiple users

Postby Meo » May 27th, '13, 21:57

Mageia 3
Got one soundcard and would like to be able to output (mix) sound from (different) programs running under different user ids.
Tried pulseaudio in system mode with autospawn = no in client.conf But pulseaudio is still starting with the user id I log in as (graphically). I think I missed something.
How do I setup pulseaudio correctly so it can be accessed by all users (in pulse-access group)?
Meo
 
Posts: 7
Joined: May 24th, '13, 09:25

Re: Simultanious sound output for multiple users

Postby colin » May 28th, '13, 20:30

PulseAudio is also started for the user via an XDG autostart entries that ultimately run /usr/bin/start-pulseaudio-x11 and /usr/bin/start-pulseaudio-kde (if you use KDE) and also /etc/X11/xinit.d/50pulseaudio (if not using GNOME or KDE).

Sadly we don't have a super easy easy way to configure things, so what I would do is edit /etc/sound/profiles/pulse/profile.conf and name the profile slightly differently, e.g. SOUNDPROFILE=pulse-system. This should stop all the above scripts from running but otherwise keep things exactly the same.

I've not tried this but this *should* hopefully prevent PA from starting as your user and it should then default to fallback to the system-wide version.

Hope that helps.
colin
 
Posts: 53
Joined: Jul 25th, '11, 11:15

Re: Simultanious sound output for multiple users

Postby Meo » May 29th, '13, 14:45

Thanks
Meanwhile I just disabled pulse in mcc and added the users that should be able to play sound to audio group. And voila sound works for all of them.
It has the added advantage that kmix now shows me all my channels while it doesn't with pulse enabled.
Meo
 
Posts: 7
Joined: May 24th, '13, 09:25


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron