[pulseaudio-discuss] Accessing audio as root

Lennart Poettering lennart at poettering.net
Mon Jan 4 11:06:05 PST 2010


On Sat, 02.01.10 16:52, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> > I'm not quite sure how this works.  When a speakup client wants access
> > to the sound card, it could request access at high priority, and then
> > plays it's sound.  How would it hand back the sound card to the other
> > user and uncork it?  If this were automatic once the queue was empty
> > for say one second, that would be great.  Is this the sort of thing we
> > can do with PA/CK?
> 
> While this would theoretically work, I think it's probably not needed.
> The reservation system is really meant for interacting with jack and
> while it's not exclusive, I think it's not really an appropriate
> technique to solve this problem.
> 
> I think the general concept of the speech dispatchers running as a
> system service is the bit that needs re-thought 

I agree.

> and that adding hooks to consolekit (if they don't exist) and the
> concept of an "idle user" are probably more practical long term
> solutions.

"idle user"? By that you mean some pseudo user session that the
speakup daemon could be run under? If so, I agree.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list