[pulseaudio-discuss] [PATCH 1/4] stream-restore: add volume_is_absolute bool in client side

Lennart Poettering lennart at poettering.net
Fri May 8 16:26:04 PDT 2009


On Sat, 09.05.09 01:23, Lennart Poettering (lennart at poettering.net) wrote:

> 
> On Sat, 09.05.09 01:15, Lennart Poettering (lennart at poettering.net) wrote:
> 
> > 00:47 < mezcalero> finally, as last step
> > 00:47 < mezcalero> move the negotiation of extensions into connection setup
> > 00:48 < mezcalero> i.e. in the response to AUTH we get a list of supported extensions
> > 00:48 < mezcalero> plus their versions
> > 00:48 < mezcalero> and then keep that around forever
> 
> Of course this nego would need to be both ways. So the client sends a
> list of extensions it knows during auth. And the server responds back
> with the subset of those extensions it supports.
> 
> It would probably make sense to add two new API functions then:
> 
>     int pa_context_negotiate_extension(c, const char *name);
> 
> Which you could call between pa_context_new() and pa_context_connect()
> if you want to negotiate some extension that isn't negotiated
> automatically anyway.
> 
> And then of course:
> 
>     int pa_context_is_extension_negotiated(c, const char *name);
> 

We should probably add those functions only when we really need
them. So ignore this for now, but let's keep it in mind.

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