stream: pa_stream_get_index: constify

This commit is contained in:
Lyndon Brown 2018-05-27 05:49:23 +01:00 committed by Arun Raghavan
parent 31eb433d7b
commit 274cb7b6d0
2 changed files with 2 additions and 2 deletions

View file

@ -345,7 +345,7 @@ pa_context* pa_stream_get_context(const pa_stream *s) {
return s->context;
}
uint32_t pa_stream_get_index(pa_stream *s) {
uint32_t pa_stream_get_index(const pa_stream *s) {
pa_assert(s);
pa_assert(PA_REFCNT_VALUE(s) >= 1);