channelmix: fix lfe-cutoff parsing

This commit is contained in:
Wim Taymans 2022-02-25 11:20:19 +01:00
parent bf52630153
commit 1cf869cea8

View file

@ -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