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

void pa_ext_stream_restore_set_subscribe_cb ( pa_context c,
pa_ext_stream_restore_subscribe_cb_t  cb,
void *  userdata 
)

Set the subscription callback that is called when pa_ext_stream_restore_subscribe() was called.

Since:
0.9.12

Definition at line 329 of file ext-stream-restore.c.

                        {

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

    if (pa_detect_fork())
        return;

    c->ext_stream_restore.callback = cb;
    c->ext_stream_restore.userdata = userdata;
}


Generated by  Doxygen 1.6.0   Back to index