diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-19 12:07:52 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-19 12:11:09 -0700 |
commit | 0a8088b3b34f9efed3f8905969a1d16bfd485a65 (patch) | |
tree | eb2351a55afca110d9286c042b0cc0e95d49a4d8 /src/til_stream.h | |
parent | de5a8a689915bc5918097168a172e11ad1059c3f (diff) |
til_stream: set frame in til_stream_pipe_set_driving_tap()
This needs the stream pulled in so the signature changed to
accomodate that.
Also modules/rkt was calling this conditionally which won't be
compatible with the per-frame driver race model, so always call
it to maintain the driving position every frame.
Diffstat (limited to 'src/til_stream.h')
-rw-r--r-- | src/til_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/til_stream.h b/src/til_stream.h index 54bbdc5..317fe8f 100644 --- a/src/til_stream.h +++ b/src/til_stream.h @@ -66,7 +66,7 @@ void til_stream_fprint_pipes(til_stream_t *stream, FILE *out); int til_stream_for_each_pipe(til_stream_t *stream, til_stream_pipe_iter_func_t pipe_cb, void *cb_arg); void til_stream_pipe_set_owner(til_stream_pipe_t *pipe, const void *owner, const void *owner_foo); -void til_stream_pipe_set_driving_tap(til_stream_pipe_t *pipe, const til_tap_t *driving_tap); +void til_stream_pipe_set_driving_tap(til_stream_t *stream, til_stream_pipe_t *pipe, const til_tap_t *driving_tap); typedef int (til_stream_module_context_iter_func_t)(void *context, til_stream_module_context_t *module_context, size_t n_module_contexts, const til_module_context_t **contexts); |