Wim Taymans
342c3a7ea2
si-adapter: handle autoconnect property
...
When the autoconnect property is not available or false, we must
simply configure the stream in its default channel map and leave it
unconnected.
Fixes pw-cat -p --target=0 ..
2021-06-07 10:29:25 +02:00
Wim Taymans
72d8778e3f
si-adapter: handle dont-remix streams
...
Don't-remix streams don't change their channel mapping based on
the device they connect to but are always configured with their
default channel mapping, just like devices.
This fixes the gnome-control-center channel test.
This patch also removes the 1 channel -> many patch because it is
not the right thing to do in this case and should be implemented
with some proper channel mapping patch later.
2021-06-07 09:56:54 +02:00
Julian Bouzas
cde38daabf
pipewire-object: fix memory leaks when getting properties
2021-06-03 14:53:00 -04:00
Julian Bouzas
f8cf723b19
si-adapter: take ownership of format argument
...
The wp_si_adapter_set_port_config API must take ownership of the param argument
as described by the documentation.
2021-06-03 14:53:00 -04:00
Julian Bouzas
3fbcf05c9b
pipewire-object: take ownership of param argument
...
The wp_pipewire_object_set_param API must take ownership of the param argument
as described by the documentation.
2021-06-03 14:53:00 -04:00
Julian Bouzas
e14bb5fa2f
modules: steal the format_task before returning it
...
Fixes possible race condition when setting adapter ports format in the callback
of a previous adapter ports format call.
2021-05-19 07:42:18 -04:00
Julian Bouzas
9cf1f94045
modules: implement WpSiAdapter in si-audio-adapter and si-audio-endpoint
2021-05-12 10:37:15 -04:00
Julian Bouzas
05aba22c5a
si-audio-adapter: remove unneeded 'preferred.n.channels' property
2021-05-12 10:36:24 -04:00
Julian Bouzas
888667d784
modules: remove role and priority properties from si-audio-adapter and si-node
2021-05-11 10:56:50 -04:00
Julian Bouzas
d68636f9b3
si-interfaces: rename WpSiPortInfo to WpSiLinkable
2021-05-11 10:56:44 -04:00
Julian Bouzas
3f60716f30
modules: remove 'monitor' port context from si-audio-adapter and si-node
2021-05-10 15:19:25 -04:00
Julian Bouzas
fb1daa0bf2
modules: use dots instead of dashes for session item properties
...
Keeps consistency with PipeWire
2021-04-02 11:22:22 -04:00
Julian Bouzas
12b59a1506
m-si-audio-adapter: abort activation if node feature ports is no longer enabled
2021-03-31 12:44:49 -04:00
Julian Bouzas
b7e347d92c
modules: remove endpoint impl on si-node, si-audio-convert and si-audio-adapter
2021-03-26 16:16:02 -04:00
Julian Bouzas
c0143b5f18
m-si-audio-adapter: ensure ports are available before enabling active
2021-03-26 16:16:02 -04:00
Julian Bouzas
340213272e
m-si-adapter: rename to si-audio-adapter
...
Because it is only meant to be used with audio nodes
2021-03-18 14:47:22 -04:00