From 2aa725e4fe16cc7d47f4c4e4bada7b93b898d1de Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 10 Oct 2025 12:23:43 +0300 Subject: [PATCH] audioconvert: accept prop params that are encoded as Long in the pod --- spa/plugins/audioconvert/audioconvert.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c index 70affb04f..d2e22d603 100644 --- a/spa/plugins/audioconvert/audioconvert.c +++ b/spa/plugins/audioconvert/audioconvert.c @@ -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) ?