mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
context: pa_context_new_with_proplist: constify proplist param
This commit is contained in:
parent
d851021cf5
commit
c0a70e8db8
2 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ static void reset_callbacks(pa_context *c) {
|
||||||
c->ext_stream_restore.userdata = NULL;
|
c->ext_stream_restore.userdata = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, pa_proplist *p) {
|
pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, const pa_proplist *p) {
|
||||||
pa_context *c;
|
pa_context *c;
|
||||||
pa_mem_type_t type;
|
pa_mem_type_t type;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name);
|
||||||
/** Instantiate a new connection context with an abstract mainloop API
|
/** Instantiate a new connection context with an abstract mainloop API
|
||||||
* and an application name, and specify the initial client property
|
* and an application name, and specify the initial client property
|
||||||
* list. \since 0.9.11 */
|
* list. \since 0.9.11 */
|
||||||
pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, pa_proplist *proplist);
|
pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, const pa_proplist *proplist);
|
||||||
|
|
||||||
/** Decrease the reference counter of the context by one */
|
/** Decrease the reference counter of the context by one */
|
||||||
void pa_context_unref(pa_context *c);
|
void pa_context_unref(pa_context *c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue