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

void pa_stream_set_write_callback ( pa_stream p,
pa_stream_request_cb_t  cb,
void *  userdata 
)

Set the callback function that is called when new data may be written to the stream.

Definition at line 1243 of file stream.c.

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

    s->write_callback = cb;
    s->write_userdata = userdata;
}


Generated by  Doxygen 1.6.0   Back to index