From 1cf869cea8e8d5babd0c57f288a01dba326a6865 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 Feb 2022 11:20:19 +0100 Subject: [PATCH] channelmix: fix lfe-cutoff parsing --- spa/plugins/audioconvert/channelmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/audioconvert/channelmix.c b/spa/plugins/audioconvert/channelmix.c index 1867410f7..7da61c8d9 100644 --- a/spa/plugins/audioconvert/channelmix.c +++ b/spa/plugins/audioconvert/channelmix.c @@ -592,7 +592,7 @@ static int channelmix_set_param(struct impl *this, const char *k, const char *s) else if (spa_streq(k, "channelmix.upmix")) SPA_FLAG_UPDATE(this->mix.options, CHANNELMIX_OPTION_UPMIX, spa_atob(s)); else if (spa_streq(k, "channelmix.lfe-cutoff")) - this->mix.lfe_cutoff = atoi(s); + spa_atof(s, &this->mix.lfe_cutoff); else if (spa_streq(k, "channelmix.disable")) this->props.disabled = spa_atob(s); else