From aac1d7218bfd50299c219be812425fa388600fd4 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 21 Nov 2023 15:06:03 -0800 Subject: modules/{compose,mixer}: more TIL_MODULE_AUDIO_ONLY excepts These were missed by 6c657a9 --- src/modules/compose/compose.c | 6 +++--- src/modules/mixer/mixer.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules') 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); -- cgit v1.2.3