stream: pa_stream_get_state: constify

This commit is contained in:
Lyndon Brown 2018-05-27 05:43:01 +01:00 committed by Arun Raghavan
parent a24be6cc13
commit 6ab533c7aa
2 changed files with 2 additions and 2 deletions

View file

@ -331,7 +331,7 @@ pa_stream* pa_stream_ref(pa_stream *s) {
return s;
}
pa_stream_state_t pa_stream_get_state(pa_stream *s) {
pa_stream_state_t pa_stream_get_state(const pa_stream *s) {
pa_assert(s);
pa_assert(PA_REFCNT_VALUE(s) >= 1);