mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
context: pa_context_get_index: constify
This commit is contained in:
parent
b88a219f32
commit
351731c697
2 changed files with 2 additions and 2 deletions
|
|
@ -1361,7 +1361,7 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t pa_context_get_index(pa_context *c) {
|
uint32_t pa_context_get_index(const pa_context *c) {
|
||||||
pa_assert(c);
|
pa_assert(c);
|
||||||
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -256,7 +256,7 @@ pa_operation *pa_context_proplist_remove(pa_context *c, const char *const keys[]
|
||||||
* identified in the server with. This is useful for usage with the
|
* identified in the server with. This is useful for usage with the
|
||||||
* introspection functions, such as pa_context_get_client_info().
|
* introspection functions, such as pa_context_get_client_info().
|
||||||
* Returns PA_INVALID_INDEX on error. \since 0.9.11 */
|
* Returns PA_INVALID_INDEX on error. \since 0.9.11 */
|
||||||
uint32_t pa_context_get_index(pa_context *s);
|
uint32_t pa_context_get_index(const 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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue