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

void pa_browser_set_error_callback ( pa_browser z,
pa_browser_error_cb_t  ,
void *  userdata 

Set a callback function that is called whenever the browser object becomes invalid due to an error. After this function has been called the browser object has become invalid and should be freed.

Definition at line 447 of file browser.c.

    pa_assert(PA_REFCNT_VALUE(b) >= 1);

    b->error_callback = cb;
    b->error_userdata = userdata;

Generated by  Doxygen 1.6.0   Back to index