From fc9f7c1005e5ab06c6ef7628169b4b59a3b83c48 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Sat, 11 Sep 2021 07:14:46 +0200 Subject: [PATCH] stream: declare pw_stream_get_control() in header The function is defined and exported, but is not declared in the header. --- src/pipewire/stream.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pipewire/stream.h b/src/pipewire/stream.h index 4e54be62a..86415beca 100644 --- a/src/pipewire/stream.h +++ b/src/pipewire/stream.h @@ -342,6 +342,9 @@ pw_stream_update_params(struct pw_stream *stream, /**< a \ref pw_stream */ * buffer allocation. */ uint32_t n_params /**< number of elements in \a params */); +/** Get control values */ +const struct pw_stream_control *pw_stream_get_control(struct pw_stream *stream, uint32_t id); + /** Set control values */ int pw_stream_set_control(struct pw_stream *stream, uint32_t id, uint32_t n_values, float *values, ...);