mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
context: pa_context_get_state: constify
This commit is contained in:
parent
326b749a78
commit
277c3735df
2 changed files with 2 additions and 2 deletions
|
|
@ -1058,7 +1058,7 @@ void pa_context_disconnect(pa_context *c) {
|
|||
pa_context_set_state(c, PA_CONTEXT_TERMINATED);
|
||||
}
|
||||
|
||||
pa_context_state_t pa_context_get_state(pa_context *c) {
|
||||
pa_context_state_t pa_context_get_state(const pa_context *c) {
|
||||
pa_assert(c);
|
||||
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue