mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
context: pa_context_rttime_restart: constify context pointer
This commit is contained in:
parent
31da2a7d3f
commit
d251665f22
2 changed files with 2 additions and 2 deletions
|
|
@ -1606,7 +1606,7 @@ pa_time_event* pa_context_rttime_new(const pa_context *c, pa_usec_t usec, pa_tim
|
||||||
return c->mainloop->time_new(c->mainloop, &tv, cb, userdata);
|
return c->mainloop->time_new(c->mainloop, &tv, cb, userdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pa_context_rttime_restart(pa_context *c, pa_time_event *e, pa_usec_t usec) {
|
void pa_context_rttime_restart(const pa_context *c, pa_time_event *e, pa_usec_t usec) {
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
pa_assert(c);
|
pa_assert(c);
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,7 @@ pa_time_event* pa_context_rttime_new(const pa_context *c, pa_usec_t usec, pa_tim
|
||||||
|
|
||||||
/** Restart a running or expired timer event source (wrapper for
|
/** Restart a running or expired timer event source (wrapper for
|
||||||
* mainloop->time_restart). \since 0.9.16 */
|
* mainloop->time_restart). \since 0.9.16 */
|
||||||
void pa_context_rttime_restart(pa_context *c, pa_time_event *e, pa_usec_t usec);
|
void pa_context_rttime_restart(const pa_context *c, pa_time_event *e, pa_usec_t usec);
|
||||||
|
|
||||||
/** Return the optimal block size for passing around audio buffers. It
|
/** Return the optimal block size for passing around audio buffers. It
|
||||||
* is recommended to allocate buffers of the size returned here when
|
* is recommended to allocate buffers of the size returned here when
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue