Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

void pa_context_set_subscribe_callback ( pa_context c,
pa_context_subscribe_cb_t  cb,
void *  userdata 
)

Set the context specific call back function that is called whenever the state of the daemon changes

Definition at line 86 of file subscribe.c.

                                                                                                    {
    pa_assert(c);
    pa_assert(PA_REFCNT_VALUE(c) >= 1);

    c->subscribe_callback = cb;
    c->subscribe_userdata = userdata;
}


Generated by  Doxygen 1.6.0   Back to index