mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
context: pa_context_rttime_new: constify context pointer
This commit is contained in:
parent
ccf3d29264
commit
31da2a7d3f
2 changed files with 2 additions and 2 deletions
|
|
@ -1591,7 +1591,7 @@ finish:
|
||||||
pa_proplist_free(pl);
|
pa_proplist_free(pl);
|
||||||
}
|
}
|
||||||
|
|
||||||
pa_time_event* pa_context_rttime_new(pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata) {
|
pa_time_event* pa_context_rttime_new(const pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata) {
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
pa_assert(c);
|
pa_assert(c);
|
||||||
|
|
|
||||||
|
|
@ -260,7 +260,7 @@ uint32_t pa_context_get_index(pa_context *s);
|
||||||
|
|
||||||
/** Create a new timer event source for the specified time (wrapper
|
/** Create a new timer event source for the specified time (wrapper
|
||||||
* for mainloop->time_new). \since 0.9.16 */
|
* for mainloop->time_new). \since 0.9.16 */
|
||||||
pa_time_event* pa_context_rttime_new(pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata);
|
pa_time_event* pa_context_rttime_new(const pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata);
|
||||||
|
|
||||||
/** 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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue