• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

Revisión5d0e82be7eee392cf8fba46d293754481bdc77c2 (tree)
Tiempo2023-10-03 05:04:34
AutorBarnabás Pőcze <pobrn@prot...>
CommiterBarnabás Pőcze

Log Message

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

Cambiar Resumen

Diferencia incremental

--- a/src/modules/module-protocol-pulse/modules/module-echo-cancel.c
+++ b/src/modules/module-protocol-pulse/modules/module-echo-cancel.c
@@ -52,6 +52,11 @@ static int module_echo_cancel_load(struct module *module)
5252 char *args;
5353 size_t size;
5454
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+
5560 if ((f = open_memstream(&args, &size)) == NULL)
5661 return -errno;
5762