From b22df31feeb7e695faabecfd7cc6fdd24609b0e1 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 28 Aug 2023 18:57:55 -0700 Subject: til: add preliminary audio backend This is an early implementation of something resembling an audio backend for rototiller/libtil. The assumption for now is that everything will use signed 16-bit native-endian stereo output @ 44.1khz. --- src/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index c6877a7..fda9b40 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,6 +6,10 @@ libtil_la_SOURCES = \ til.h \ til_args.c \ til_args.h \ + til_audio.c \ + til_audio.h \ + til_audio_context.c \ + til_audio_context.h \ til_builtins.c \ til_fb.c \ til_fb.h \ @@ -75,6 +79,7 @@ rototiller_SOURCES = \ fps.c \ fps.h \ main.c \ + mem_audio.c \ mem_fb.c \ setup.c \ setup.h \ @@ -89,7 +94,7 @@ rototiller_SOURCES = \ til_util.h if ENABLE_SDL -rototiller_SOURCES += sdl_fb.c +rototiller_SOURCES += sdl_audio.c sdl_fb.c endif if ENABLE_DRM rototiller_SOURCES += drm_fb.c -- cgit v1.2.1