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);
pa_stream_state_t pa_stream_get_state(const pa_stream *p);
/** Return the context this stream is attached to. */
-pa_context* pa_stream_get_context(pa_stream *p);
+pa_context* pa_stream_get_context(const pa_stream *p);
/** Return the sink input resp.\ source output index this stream is
* identified in the server with. This is useful with the