summaryrefslogtreecommitdiff
path: root/src/til_stream.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-18 21:10:52 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-18 21:13:43 -0700
commitc748e9ddc66492d0b01d2a13b5fc46f97c20b73c (patch)
tree691af6aa88680eae4aa6fb9d756eeaac94b0b700 /src/til_stream.h
parent0b471f3579e49c28032536de3c276a9d6eddd15d (diff)
til_stream: introduce a per-stream frame counter
This adds til_stream_start_frame() which advances a per-stream counter. Subsequent commits will make use of this for implementing a pre-frame competition for pipe ownership.
Diffstat (limited to 'src/til_stream.h')
-rw-r--r--src/til_stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/til_stream.h b/src/til_stream.h
index f9717af..54bbdc5 100644
--- a/src/til_stream.h
+++ b/src/til_stream.h
@@ -48,6 +48,7 @@ til_stream_t * til_stream_new(void);
til_stream_t * til_stream_free(til_stream_t *stream);
void til_stream_end(til_stream_t *stream);
int til_stream_active(til_stream_t *stream);
+void til_stream_start_frame(til_stream_t *stream);
int til_stream_set_hooks(til_stream_t *stream, const til_stream_hooks_t *hooks, void *context);
int til_stream_unset_hooks(til_stream_t *stream, const til_stream_hooks_t *hooks);
© All Rights Reserved