Pipewireパッケージ(ちょっと変更)
Revisión | 5d0e82be7eee392cf8fba46d293754481bdc77c2 (tree) |
---|---|
Tiempo | 2023-10-03 05:04:34 |
Autor | Barnabás Pőcze <pobrn@prot...> |
Commiter | Barnabás Pőcze |
pulse-server: module-echo-cancel: set pulse.module.id
Set pulse.module.id on every node that libpipewire-module-echo-cancel
creates so that one can see in the output of pactl list {sinks,sources}
which nodes were created by a particular instance of module-echo-cancel.
Fixes #3541
@@ -52,6 +52,11 @@ static int module_echo_cancel_load(struct module *module) | ||
52 | 52 | char *args; |
53 | 53 | size_t size; |
54 | 54 | |
55 | + pw_properties_setf(data->capture_props, "pulse.module.id", "%u", module->index); | |
56 | + pw_properties_setf(data->source_props, "pulse.module.id", "%u", module->index); | |
57 | + pw_properties_setf(data->sink_props, "pulse.module.id", "%u", module->index); | |
58 | + pw_properties_setf(data->playback_props, "pulse.module.id", "%u", module->index); | |
59 | + | |
55 | 60 | if ((f = open_memstream(&args, &size)) == NULL) |
56 | 61 | return -errno; |
57 | 62 |