mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
control: add control mixer plugin
Add a mixer plugin for control messages and plug it in ports with control messages.
This commit is contained in:
parent
0978343e44
commit
8899d00bfc
7 changed files with 897 additions and 1 deletions
|
|
@ -521,6 +521,18 @@ static int setup_mixer(struct pw_port *port, const struct spa_pod *param)
|
|||
return -ENOTSUP;
|
||||
}
|
||||
break;
|
||||
|
||||
case SPA_MEDIA_TYPE_application:
|
||||
switch (media_subtype) {
|
||||
case SPA_MEDIA_SUBTYPE_control:
|
||||
fallback_lib = "control/libspa-control";
|
||||
factory_name = SPA_NAME_CONTROL_MIXER;
|
||||
break;
|
||||
default:
|
||||
return -ENOTSUP;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue