summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-18 13:59:07 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-18 13:59:07 -0800
commit059f5cdff85a974a6544122c41268a44b18fbb36 (patch)
tree7a7bc8680c4e36424e34eed69959e2d924481731
parenta0cc9147034fffde006566fbece3c7d060e086ae (diff)
til_stream: drop til_stream_start_frame()
til_stream_render() bumps the frame counter, so there's no more need for a discrete frame start mechanism.
-rw-r--r--src/til_stream.c8
-rw-r--r--src/til_stream.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/til_stream.c b/src/til_stream.c
index 3f220fb..dfc299b 100644
--- a/src/til_stream.c
+++ b/src/til_stream.c
@@ -136,14 +136,6 @@ int til_stream_active(til_stream_t *stream)
}
-void til_stream_start_frame(til_stream_t *stream)
-{
- assert(stream);
-
- stream->frame++;
-}
-
-
til_stream_t * til_stream_free(til_stream_t *stream)
{
unsigned leaked;
diff --git a/src/til_stream.h b/src/til_stream.h
index bae5abb..42fb8e8 100644
--- a/src/til_stream.h
+++ b/src/til_stream.h
@@ -50,7 +50,6 @@ til_stream_t * til_stream_new(til_audio_context_t *audio_context);
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);
til_audio_context_t * til_stream_get_audio_context(til_stream_t *stream);
© All Rights Reserved