audiotestsrc: properties are float

This commit is contained in:
Wim Taymans 2018-11-07 11:57:58 +01:00
parent 4d7311aca1
commit e47bfa02e5
2 changed files with 4 additions and 4 deletions

View file

@ -926,8 +926,8 @@ static int process_control(struct impl *this, struct spa_pod_sequence *sequence)
{
struct props *p = &this->props;
spa_pod_object_parse(&c->value,
":", SPA_PROP_frequency, "?d", &p->freq,
":", SPA_PROP_volume, "?d", &p->volume,
":", SPA_PROP_frequency, "?f", &p->freq,
":", SPA_PROP_volume, "?f", &p->volume,
NULL);
break;
}