diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-11-21 15:06:03 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-11-21 15:06:03 -0800 |
commit | aac1d7218bfd50299c219be812425fa388600fd4 (patch) | |
tree | 93317d064aa035f85eef9600d6432bb437f219c7 /src | |
parent | 814ae2127c040e7a9525500537caf6830408e270 (diff) |
modules/{compose,mixer}: more TIL_MODULE_AUDIO_ONLY excepts
These were missed by 6c657a9
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/compose/compose.c | 6 | ||||
-rw-r--r-- | src/modules/mixer/mixer.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/compose/compose.c b/src/modules/compose/compose.c index b782ed5..83ec218 100644 --- a/src/modules/compose/compose.c +++ b/src/modules/compose/compose.c @@ -153,7 +153,7 @@ static char * compose_random_layers_setting(unsigned seed) size_t n_modules, n_rand_overlays, n_overlayable = 0, n_unusable = 0, base_idx; char *layers = NULL; const til_module_t **modules; - unsigned unusable_flags = (TIL_MODULE_HERMETIC | TIL_MODULE_EXPERIMENTAL | TIL_MODULE_BUILTIN); + unsigned unusable_flags = (TIL_MODULE_HERMETIC | TIL_MODULE_EXPERIMENTAL | TIL_MODULE_BUILTIN | TIL_MODULE_AUDIO_ONLY); til_get_modules(&modules, &n_modules); @@ -247,7 +247,7 @@ static int compose_layer_module_setup(const til_settings_t *settings, til_settin res_setup, "Layer module name", COMPOSE_DEFAULT_LAYER_MODULE, - (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC), + (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY), exclusions); } @@ -260,7 +260,7 @@ static int compose_texture_module_setup(const til_settings_t *settings, til_sett res_setup, "Texture module name", COMPOSE_DEFAULT_TEXTURE_MODULE, - (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC), + (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY), NULL); } diff --git a/src/modules/mixer/mixer.c b/src/modules/mixer/mixer.c index cf57d3d..ebc7171 100644 --- a/src/modules/mixer/mixer.c +++ b/src/modules/mixer/mixer.c @@ -396,7 +396,7 @@ static int mixer_setup(const til_settings_t *settings, til_setting_t **res_setti NULL, /* XXX: no res_setup, defer finalizing */ input_module_name_names[i], input_preferred[i], - (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC), + (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY), exclusions); if (r) return r; @@ -427,7 +427,7 @@ static int mixer_setup(const til_settings_t *settings, til_setting_t **res_setti &setup->inputs[i].setup, /* finalize! */ input_module_name_names[i], input_preferred[i], - (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC), + (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY), exclusions); if (r < 0) return til_setup_free_with_ret_err(&setup->til_setup, r); |