mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioadapter: filter filtering
This commit is contained in:
parent
65909b7964
commit
4449cf61ad
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue