From 4c629d77d9bd67e9861f578d89957b3cf1472aa8 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 5 Nov 2023 15:31:59 -0800 Subject: til_stream: add til_audio_context_t to til_stream_t Preliminary means of making the audio context available to modules. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') 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(), -- cgit v1.2.1