[pulseaudio-discuss] PA_SUBSCRIPTION_EVENT_REMOVE in PulseAudio

Lennart Poettering lennart at poettering.net
Wed Jul 30 07:20:43 PDT 2008

On Wed, 30.07.08 22:15, Stanley Cai (stanley.w.cai at gmail.com) wrote:

> On Sun, Jul 27, 2008 at 05:01:48PM +0200, Lennart Poettering wrote:
> > On Wed, 23.07.08 16:27, Stanley Cai (stanley.w.cai at gmail.com) wrote:
> > 
> > The subscription logic is for asynchronous notification. It's purely
> > informational, you may not use it to interfere with the normal state
> > logic of the core.
> the remove/unlink event has no enough information. :) I think the new 
> event is very close to HOOK_XXX_POST functions.

Uh? You claim the unlink hook has "not enough information"? It gets
the pointer to the object that is unlinked itself. There cannot be
more information than that.


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

More information about the pulseaudio-discuss mailing list