mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
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:
parent
02d0802004
commit
bca653198a
1 changed files with 1 additions and 4 deletions
|
|
@ -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, ¶m, &b)) != 1)
|
|
||||||
return res;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case SPA_PARAM_EnumFormat:
|
case SPA_PARAM_EnumFormat:
|
||||||
case SPA_PARAM_Format:
|
case SPA_PARAM_Format:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue