diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-11-18 19:32:49 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-11-18 19:32:49 -0800 |
commit | 3008ec783740e64d9a4b900e870ae21282a20ce2 (patch) | |
tree | e1ce9bb4663bc3d9ae405bbc16f2a36e3c7222a1 /src | |
parent | ad208edbdfc1f8e912945ac790168afd174fd80b (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/til.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |