diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2018-06-07 04:02:16 +0100 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2018-06-15 14:19:41 +0300 |
commit | 1d0310c5f4a57cdcd6b7152dc63c856cfecb3bf7 (patch) | |
tree | a133cf18d09b6f740280b0e67c410dcbbd1b5e25 | |
parent | f502bb7cd0e9b89981e597ff1695d4ac25838a27 (diff) | |
download | pulseaudio-next.tar.gz |
context: pa_context_rttime_restart: constify context pointernext
-rw-r--r-- | src/pulse/context.c | 2 | ||||
-rw-r--r-- | src/pulse/context.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c index c5850979b..dc59ed2d8 100644 --- a/src/pulse/context.c +++ b/src/pulse/context.c @@ -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); } -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; pa_assert(c); diff --git a/src/pulse/context.h b/src/pulse/context.h index 665e9f835..cc96f419c 100644 --- a/src/pulse/context.h +++ b/src/pulse/context.h @@ -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 * 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 * is recommended to allocate buffers of the size returned here when |