mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
spa: Improve PropInfo fields
The PropInfo either has a registered id (and then also a name from the type-info) or a custom name as a string. In all cases, the description contains a free form text that clarifies the property. Use the description in the stream controls name.
This commit is contained in:
parent
4ae94a6ca6
commit
2f5bba112f
19 changed files with 43 additions and 43 deletions
|
|
@ -317,7 +317,7 @@ static int codec_enum_props(void *props, const struct spa_dict *settings, uint32
|
|||
spa_pod_builder_push_object(b, &f[0], SPA_TYPE_OBJECT_PropInfo, id);
|
||||
spa_pod_builder_prop(b, SPA_PROP_INFO_id, 0);
|
||||
spa_pod_builder_id(b, SPA_PROP_quality);
|
||||
spa_pod_builder_prop(b, SPA_PROP_INFO_name, 0);
|
||||
spa_pod_builder_prop(b, SPA_PROP_INFO_description, 0);
|
||||
spa_pod_builder_string(b, "LDAC quality");
|
||||
|
||||
spa_pod_builder_prop(b, SPA_PROP_INFO_type, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue