From 3008ec783740e64d9a4b900e870ae21282a20ce2 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 18 Nov 2023 19:32:49 -0800 Subject: til: add TIL_MODULE_AUDIO_ONLY flag For modules like modules/playit, it's desirable to easily keep them out of randomizers picking visual modules to use and the like. Until now that's been achieved via its experimental flag, but that should go away. --- src/til.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/til.h b/src/til.h index 08b2173..cbfb5f0 100644 --- a/src/til.h +++ b/src/til.h @@ -26,6 +26,7 @@ typedef struct til_stream_t til_stream_t; #define TIL_MODULE_HERMETIC 2u /* module doesn't work readily with other modules / requires manual settings */ #define TIL_MODULE_EXPERIMENTAL 4u /* module is buggy / unfinished */ #define TIL_MODULE_BUILTIN 8u /* module is implements "built-in" libtil functionality not intended to be interesting by itself */ +#define TIL_MODULE_AUDIO_ONLY 16u /* module only renders audio */ struct til_module_t { til_module_context_t * (*create_context)(const til_module_t *module, til_stream_t *stream, unsigned seed, unsigned ticks, unsigned n_cpus, til_setup_t *setup); -- cgit v1.2.3