mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
stream: pa_stream_get_monitor_stream: constify
This commit is contained in:
parent
6f2a70191d
commit
e6226b07c0
2 changed files with 2 additions and 2 deletions
|
|
@ -2915,7 +2915,7 @@ int pa_stream_set_monitor_stream(pa_stream *s, uint32_t sink_input_idx) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t pa_stream_get_monitor_stream(pa_stream *s) {
|
uint32_t pa_stream_get_monitor_stream(const pa_stream *s) {
|
||||||
pa_assert(s);
|
pa_assert(s);
|
||||||
pa_assert(PA_REFCNT_VALUE(s) >= 1);
|
pa_assert(PA_REFCNT_VALUE(s) >= 1);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -801,7 +801,7 @@ int pa_stream_set_monitor_stream(pa_stream *s, uint32_t sink_input_idx);
|
||||||
/** Return the sink input index previously set with
|
/** Return the sink input index previously set with
|
||||||
* pa_stream_set_monitor_stream(). Returns PA_INVALID_INDEX
|
* pa_stream_set_monitor_stream(). Returns PA_INVALID_INDEX
|
||||||
* on failure. \since 0.9.11 */
|
* on failure. \since 0.9.11 */
|
||||||
uint32_t pa_stream_get_monitor_stream(pa_stream *s);
|
uint32_t pa_stream_get_monitor_stream(const pa_stream *s);
|
||||||
|
|
||||||
PA_C_DECL_END
|
PA_C_DECL_END
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue