pipewire/spa/include/spa/pod
Wim Taymans 941fc5f51c spa: add Capability and PeerCapability
Add a new SPA_TYPE_OBJECT_ParamDict object that contains a struct with
key/value pairs. We're using something similar for Tags but this is a
more generic version.

Make a new Capability param that uses the ParamDict object. This is
meant to be used to describe capabilities with the generic key/value
struct.

Make a new PeerParam object where the keys are generic ids of the peer
objects and the values any Pod. The idea is to use this object to store
a peer objects. Make some helpers to iterate the peers and their
objects.

Add a new PeerCapability param that uses the PeerParam object with
Capability objects. This can be used to send the collection of
Capabilities from all peers to a port. This is a bit like the tags but
in a more generic way. The tags could also be implemented in this new
generic way later.

Make the PeerFormats use the same PeerParam of Format objects.

The Capability param is set on ports. impl-link will collect all
Capability objects into a PeerCapability object and send this to the
peer. The difference with the Tag param is that these Capability params
are not in any way forwared on the node automatically (like what is done
in the loopback module) because they represent the capabilities of the
ports betweem the link.
2025-11-21 10:08:46 +01:00
..
body.h spa: fix some -Wdeclaration-after-statement errors 2025-11-06 12:39:16 +01:00
builder.h builder: add support for FEATURE choice 2025-09-19 13:40:52 +02:00
command.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
compare.h spa: add spa_pod_memcmp 2025-11-13 18:13:02 +01:00
dynamic.h spa: add Capability and PeerCapability 2025-11-21 10:08:46 +01:00
event.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
filter.h spa: add spa_pod_memcmp 2025-11-13 18:13:02 +01:00
iter.h spa: add some more POD tests 2025-10-31 11:39:41 +01:00
parser.h spa: fix some -Wdeclaration-after-statement errors 2025-11-06 12:39:16 +01:00
pod.h pod: add SPA_POD_PROP_FLAG_DROP 2025-09-16 11:00:04 +02:00
simplify.h pod: check that choices are not empty 2025-07-15 10:13:18 +02:00
vararg.h spa: ensure enum always has 2 values 2025-11-04 09:23:26 +01:00