mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
stream: pa_stream_get_context: constify
This commit is contained in:
parent
6ab533c7aa
commit
31eb433d7b
2 changed files with 2 additions and 2 deletions
|
|
@ -338,7 +338,7 @@ pa_stream_state_t pa_stream_get_state(const pa_stream *s) {
|
|||
return s->state;
|
||||
}
|
||||
|
||||
pa_context* pa_stream_get_context(pa_stream *s) {
|
||||
pa_context* pa_stream_get_context(const pa_stream *s) {
|
||||
pa_assert(s);
|
||||
pa_assert(PA_REFCNT_VALUE(s) >= 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue