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

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

Set the callback function that is called whenever a latency information update happens. Useful on PA_STREAM_AUTO_TIMING_UPDATE streams only. (Only for playback streams)

Since:
0.8.2

Definition at line 1275 of file stream.c.

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

    s->latency_update_callback = cb;
    s->latency_update_userdata = userdata;
}


Generated by  Doxygen 1.6.0   Back to index