mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
stream: pa_stream_get_state: constify
This commit is contained in:
parent
a24be6cc13
commit
6ab533c7aa
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue