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?) > * 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. > BTW, Ryan, do you consider to add a proper patch system to esound? The > package is already quite messy, and it won't get better... I have no interest in using any of the various hacks around dpkg's lack of multiple patch support. dpkg has such support now, but it can't be used with the archive yet. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

