mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
acp: put channelmap in properties
This commit is contained in:
parent
af3f18b489
commit
abaf63dfe6
1 changed files with 4 additions and 0 deletions
|
|
@ -393,6 +393,10 @@ static struct spa_pod *build_route(struct spa_pod_builder *b, uint32_t id,
|
||||||
spa_pod_builder_prop(b, SPA_PROP_volumeStep, SPA_POD_PROP_FLAG_READONLY);
|
spa_pod_builder_prop(b, SPA_PROP_volumeStep, SPA_POD_PROP_FLAG_READONLY);
|
||||||
spa_pod_builder_float(b, dev->volume_step);
|
spa_pod_builder_float(b, dev->volume_step);
|
||||||
|
|
||||||
|
spa_pod_builder_prop(b, SPA_PROP_channelMap, 0);
|
||||||
|
spa_pod_builder_array(b, sizeof(uint32_t), SPA_TYPE_Id,
|
||||||
|
channels, dev->format.map);
|
||||||
|
|
||||||
spa_pod_builder_pop(b, &f[1]);
|
spa_pod_builder_pop(b, &f[1]);
|
||||||
}
|
}
|
||||||
spa_pod_builder_prop(b, SPA_PARAM_ROUTE_devices, 0);
|
spa_pod_builder_prop(b, SPA_PARAM_ROUTE_devices, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue