wireplumber/modules
George Kiagiadakis 8e5448fd0c si-audio-adapter/endpoint: do not sync() in loops, use ports-changed instead
Calling sync() in loops may end up looping forever if the operating
system's scheduling allows pipewire to reply to this sync() before
wireplumber's event loop has a chance to become idle.

In order for the new ports to appear, the object manager that monitors
them needs to emit "objects-changed", which only ever happens in an
idle callback. If the reply to sync() arrives before the idle callback,
it gets prioritized and processed, which causes another sync(), and so on...

Since setting PortFormat in the adapter always changes the ports,
watching for "ports-changed" feels like a better solution. Still,
there is more room for improvement.
2021-06-18 15:14:03 +03:00
..
module-default-nodes m-default-nodes: move common code to a new header 2021-03-31 13:10:13 +03:00
module-lua-scripting lua: improve the object:activate() callback to report errors 2021-06-10 14:53:08 +03:00
module-portal-permissionstore docs: api: Replace hotdoc specific commands with Doxygen specific commands 2021-05-25 14:19:53 +03:00
module-reserve-device docs: api: Replace hotdoc specific commands with Doxygen specific commands 2021-05-25 14:19:53 +03:00
module-si-audio-adapter m-si-adapter: rename to si-audio-adapter 2021-03-18 14:47:22 -04:00
meson.build modules: remove the old m-default-routes 2021-06-03 16:33:32 +03:00
module-default-nodes-api.c s/metadatas/metadata/g 2021-06-18 10:44:24 +03:00
module-default-nodes.c s/metadatas/metadata/g 2021-06-18 10:44:24 +03:00
module-default-profile.c state: remove support for groups and propagate save errors 2021-06-04 18:36:19 +03:00
module-device-activation.c m-device-activation: don't set device routes 2021-06-03 16:32:12 +03:00
module-ipc.c s/metadatas/metadata/g 2021-06-18 10:44:24 +03:00
module-lua-scripting.c daemon: init export core in the daemon and share it with modules 2021-04-22 15:07:47 +03:00
module-metadata.c lib: introduce WpComponentLoader and remove WpModule 2021-02-03 17:16:51 +02:00
module-mixer-api.c pipewire-object: change params-changed signal to take a string param name 2021-06-09 13:29:34 +03:00
module-si-audio-adapter.c si-audio-adapter/endpoint: do not sync() in loops, use ports-changed instead 2021-06-18 15:14:03 +03:00
module-si-audio-endpoint.c si-audio-adapter/endpoint: do not sync() in loops, use ports-changed instead 2021-06-18 15:14:03 +03:00
module-si-node.c pipewire-object: fix memory leaks when getting properties 2021-06-03 14:53:00 -04:00
module-si-standard-link.c si-standard-link: treat endpoints as devices when linking stream<->endpoint 2021-06-10 14:53:09 +03:00