summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-18 19:32:49 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-18 19:32:49 -0800
commit3008ec783740e64d9a4b900e870ae21282a20ce2 (patch)
treee1ce9bb4663bc3d9ae405bbc16f2a36e3c7222a1
parentad208edbdfc1f8e912945ac790168afd174fd80b (diff)
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.
-rw-r--r--src/til.h1
1 files changed, 1 insertions, 0 deletions
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);
© All Rights Reserved