PA_SUBSCRIPTION_EVENT_REMOVE in PulseAudio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux