Multiple users sharing the sound card?



Hi everyone,

I'm a longtime GNOME user and fan. My wife and I share a desktop PC at
home. We run sessions in parallel, switching back and forth via the
user switcher applet.

Everything works great, except for sound. Ideally, the sound card would
simply be accessible to anyone currently logged into the machine (which,
after all, sits behind a firewall). That's certainly not the case --
we can't use the sound card from both sessions at the same time. But
it's worse than that -- we can't seem to reliably switch back and forth
either. If a process on my wife's session decides to play a sound, it
might take over the sound card, causing my rhythmbox to refuse to play
next time I start it. I feel like it has to do with esound, but I'm
finding it hard to know for sure.

Perhaps there ought to be some sort of fancy policy system for deciding
which users can access the sound card when. But I'd be perfectly happy
to have a promiscuous policy where all users can play sounds at the same
time. I've looked around, but I can't find good documentation on this
subject. Do I need to adjust ALSA? Esound? Gnome? Can it be done?

For the record, I'm running Ubuntu 6.10 on a machine with an M-Audio
Audiophile 2496 (the ice1712 driver under ALSA).

Thanks for any help lessening my domestic strife!

--
Craig S. Kaplan If civilization is to survive,
University of Waterloo it must live on the interest,
Cheriton School of Computer Science not the capital, of nature.
http://www.cgl.uwaterloo.ca/~csk/ -- Ronald Wright
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



Relevant Pages

  • Re: Multiple users sharing the sound card?
    ... we can't use the sound card from both sessions at the same time. ... I feel like it has to do with esound, ... esd, or connects to a running esd session. ...
    (GNOME)
  • Re: WMP11 - Irratic Volume
    ... What sound card? ... Does switching to waveOut help: ... there's a volume levelling enhancement and you've switched it on ...
    (microsoft.public.windowsmedia.player)
  • Re: [SLE] is there a way to disable kscreenlock?
    ... When switching between sessions, the KDE ... I do not know about when switching sessions. ... and it did not show as the screen saver in the desktop config. ...
    (SuSE)
  • Re: need to measure low freq. DC waveform
    ... I think there are much lower resistance ones available, but that should not matter all that much, because the input impedance of the sound card should be fairly high, and your application is slow. ... You could also cobble something together to do the switching using discrete, but it isn't as simple as just buying an analog switch IC. ... You might then write a simple digital band pass filter to filter the input at the switching frequency. ...
    (sci.electronics.basics)
  • famd
    ... My wife & I stay logged into our sessions, switching users all the time. ... to my session, I am put into the login screen, as if I logged out. ... All that I saw was famd. ...
    (Debian-User)