audioadapter: emit param events only once

The events from the convert are already proxied to the audioadapter
so don't emit the event twice.
This commit is contained in:
Wim Taymans 2019-11-21 13:07:16 +01:00
parent 02d0802004
commit bca653198a

View file

@ -118,10 +118,7 @@ next:
case SPA_PARAM_PortConfig: case SPA_PARAM_PortConfig:
case SPA_PARAM_PropInfo: case SPA_PARAM_PropInfo:
case SPA_PARAM_Props: case SPA_PARAM_Props:
if ((res = spa_node_enum_params_sync(this->convert, return spa_node_enum_params(this->convert, seq, id, start, num, filter);
id, &result.next, filter, &param, &b)) != 1)
return res;
break;
case SPA_PARAM_EnumFormat: case SPA_PARAM_EnumFormat:
case SPA_PARAM_Format: case SPA_PARAM_Format: