From 4449cf61adce4ad7ca4ac64bed58f9bc5874699e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 12 Aug 2019 12:26:30 +0200 Subject: [PATCH] audioadapter: filter filtering --- spa/plugins/audioconvert/audioadapter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 337aede36..c4136a161 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -97,7 +97,7 @@ static int impl_node_enum_params(void *object, int seq, result.id = id; result.next = start; next: - result.index = result.next++; + result.index = result.next; spa_pod_builder_init(&b, buffer, sizeof(buffer)); @@ -107,7 +107,7 @@ next: case SPA_PARAM_PropInfo: case SPA_PARAM_Props: if ((res = spa_node_enum_params_sync(this->convert, - id, &start, filter, ¶m, &b)) != 1) + id, &result.next, filter, ¶m, &b)) != 1) return res; break; @@ -115,7 +115,7 @@ next: case SPA_PARAM_Format: if ((res = spa_node_port_enum_params_sync(this->slave, this->direction, 0, - id, &start, filter, ¶m, &b)) != 1) + id, &result.next, filter, ¶m, &b)) != 1) return res; break;