mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: accept prop params that are encoded as Long in the pod
This commit is contained in:
parent
154ab33607
commit
2aa725e4fe
1 changed files with 3 additions and 0 deletions
|
|
@ -1506,6 +1506,9 @@ static int parse_prop_params(struct impl *this, struct spa_pod *params)
|
|||
} else if (spa_pod_is_int(pod)) {
|
||||
snprintf(value, sizeof(value), "%d",
|
||||
SPA_POD_VALUE(struct spa_pod_int, pod));
|
||||
} else if (spa_pod_is_long(pod)) {
|
||||
snprintf(value, sizeof(value), "%"PRIi64,
|
||||
SPA_POD_VALUE(struct spa_pod_long, pod));
|
||||
} else if (spa_pod_is_bool(pod)) {
|
||||
snprintf(value, sizeof(value), "%s",
|
||||
SPA_POD_VALUE(struct spa_pod_bool, pod) ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue