diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-08-13 18:41:22 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-08-13 18:41:22 +0200 |
commit | e827d65659f0ec5641a29a202ccc986b1defe2a9 (patch) | |
tree | 12d0fd83400f0c58ff53263238399c8ffccc6f3a /src/tests | |
parent | 990357d72431a655df03de1c5031f7309774128a (diff) |
stream: make the control info const
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test-stream.c b/src/tests/test-stream.c index f5192f06..443965b7 100644 --- a/src/tests/test-stream.c +++ b/src/tests/test-stream.c @@ -40,7 +40,7 @@ static void test_abi(void) void (*destroy) (void *data); void (*state_changed) (void *data, enum pw_stream_state old, enum pw_stream_state state, const char *error); - void (*control_info) (void *data, uint32_t id, struct pw_stream_control *control); + void (*control_info) (void *data, uint32_t id, const struct pw_stream_control *control); void (*format_changed) (void *data, const struct spa_pod *format); void (*add_buffer) (void *data, struct pw_buffer *buffer); void (*remove_buffer) (void *data, struct pw_buffer *buffer); |