summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-05 15:31:59 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-14 01:20:56 -0800
commit4c629d77d9bd67e9861f578d89957b3cf1472aa8 (patch)
tree20246b8d0e65d4c8a04e4126df7d0e7f29c106f6 /src/main.c
parentb22df31feeb7e695faabecfd7cc6fdd24609b0e1 (diff)
til_stream: add til_audio_context_t to til_stream_t
Preliminary means of making the audio context available to modules.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 70f83e2..daf1b24 100644
--- a/src/main.c
+++ b/src/main.c
@@ -487,7 +487,7 @@ int main(int argc, const char *argv[])
exit_if((r = til_audio_open(audio_ops, setup.audio_setup, &rototiller.audio)) < 0,
"unable to open audio: %s", strerror(-r));
- exit_if(!(rototiller.stream = til_stream_new()),
+ exit_if(!(rototiller.stream = til_stream_new(rototiller.audio)),
"unable to create root stream");
exit_if(!fps_setup(),
© All Rights Reserved