mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
stream: pa_stream_get_index: constify
This commit is contained in:
parent
31eb433d7b
commit
274cb7b6d0
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ pa_context* pa_stream_get_context(const pa_stream *p);
|
|||
* introspection functions such as pa_context_get_sink_input_info()
|
||||
* or pa_context_get_source_output_info(). This returns PA_INVALID_INDEX
|
||||
* on failure. */
|
||||
uint32_t pa_stream_get_index(pa_stream *s);
|
||||
uint32_t pa_stream_get_index(const pa_stream *s);
|
||||
|
||||
/** Return the index of the sink or source this stream is connected to
|
||||
* in the server. This is useful with the introspection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue