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

void pa_context_rttime_restart ( pa_context c,
pa_time_event e,
pa_usec_t  usec 
)

Restart a running or expired timer event source (wrapper for mainloop->time_restart).

Since:
0.9.16

Definition at line 1488 of file context.c.

References PA_USEC_INVALID.

                                                                                {
    struct timeval tv;

    pa_assert(c);
    pa_assert(c->mainloop);

    if (usec == PA_USEC_INVALID)
        c->mainloop->time_restart(e, NULL);
    else {
        pa_timeval_rtstore(&tv, usec, c->use_rtclock);
        c->mainloop->time_restart(e, &tv);
    }
}


Generated by  Doxygen 1.6.0   Back to index