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

void pa_stream_set_overflow_callback ( pa_stream p,
pa_stream_notify_cb_t  cb,
void *  userdata 
)

Set the callback function that is called when a buffer overflow happens. (Only for playback streams)

Since:
0.8

Definition at line 1259 of file stream.c.

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

    s->overflow_callback = cb;
    s->overflow_userdata = userdata;
}


Generated by  Doxygen 1.6.0   Back to index