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

void pa_ext_device_manager_set_subscribe_cb ( pa_context c,
pa_ext_device_manager_subscribe_cb_t  cb,
void *  userdata 
)

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

Since:
0.9.21

Definition at line 401 of file ext-device-manager.c.

                        {

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

    if (pa_detect_fork())
        return;

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


Generated by  Doxygen 1.6.0   Back to index