diff --git a/src/modules/module-filter-chain.c b/src/modules/module-filter-chain.c index 52ecc9732..826c99f39 100644 --- a/src/modules/module-filter-chain.c +++ b/src/modules/module-filter-chain.c @@ -801,6 +801,7 @@ static int parse_params(struct graph *graph, const struct spa_pod *pod) while (true) { const char *name; float value, *val = NULL; + double dbl_val; bool bool_val; int32_t int_val; @@ -808,6 +809,9 @@ static int parse_params(struct graph *graph, const struct spa_pod *pod) break; if (spa_pod_parser_get_float(&prs, &value) >= 0) { val = &value; + } else if (spa_pod_parser_get_double(&prs, &dbl_val) >= 0) { + value = dbl_val; + val = &value; } else if (spa_pod_parser_get_int(&prs, &int_val) >= 0) { value = int_val; val = &value;