mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
audioadapter: fix EnumPortConfig without converter
If we don't have a converter, we always work in passthrough mode and EnumPortConfig can use the same code as PortConfig in all cases. See !2265
This commit is contained in:
parent
0814bafef1
commit
110d8572c0
1 changed files with 0 additions and 1 deletions
|
|
@ -214,7 +214,6 @@ next:
|
|||
|
||||
switch (id) {
|
||||
case SPA_PARAM_EnumPortConfig:
|
||||
return convert_enum_port_config(this, seq, id, start, num, filter, &b.b);
|
||||
case SPA_PARAM_PortConfig:
|
||||
if (this->mode == SPA_PARAM_PORT_CONFIG_MODE_passthrough) {
|
||||
switch (result.index) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue