On Thu, Aug 18, 2005 at 03:13:41PM -0700, Ryan Murray wrote:
> On Thu, Aug 18, 2005 at 11:23:19PM +0200, Martin Pitt wrote:
> > I patched esound to work with several parallel instances, so that
> > several logged in users can get sound:
> 
> This breaks third party commercial applications.  I have no intention of doing
> this.  The socket name really can't be changed.  (Did you read the changelog
> before making this change?)

Perhaps the first socket could be named in the traditional way, and
additional ones named using the uid.  This way, non-free applications
continue to work as well as can be expected, and we still solve the problem.

> >    * Make esd work for several users in parallel (Ubuntu #3671, Debian
> >      #147532):
> >      - util.c, esd_get_socket_dirname(): Append the user id to the socket
> >        name so that socket names for multiple users don't collide.
> >      - esd.conf: Add default option "-as 5" to release the soundcard after 5
> >        seconds of inactivity. That way, other users can actually use it, 
> > too.
> 
> What might be better for the default Debian permissions setup is to
> make the socket for public use by anyone in the audio group.  But with
> esound properly being killed when a user logs out these days, I don't
> really see the need.  There's only one sound output device so multiple
> esd processes doesn't make any sense.  Using -as also opens some nasty
> race conditions depending on the exact sound drivers in use.

With modern GNOME, it's quite convenient to have multiple users logged in at
the console and switch between them, as in Windows XP, and that is the
scenario that we would like to provide for.

Do you know of a better way to make this work with esd?

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to