From bca653198a52cd046546bebad0caef7c3ac086ae Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 21 Nov 2019 13:07:16 +0100 Subject: [PATCH] audioadapter: emit param events only once The events from the convert are already proxied to the audioadapter so don't emit the event twice. --- spa/plugins/audioconvert/audioadapter.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 32a4a5de5..726b69ff1 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -118,10 +118,7 @@ next: case SPA_PARAM_PortConfig: case SPA_PARAM_PropInfo: case SPA_PARAM_Props: - if ((res = spa_node_enum_params_sync(this->convert, - id, &result.next, filter, ¶m, &b)) != 1) - return res; - break; + return spa_node_enum_params(this->convert, seq, id, start, num, filter); case SPA_PARAM_EnumFormat: case SPA_PARAM_Format: