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:
Wim Taymans 2019-10-16 11:13:23 +02:00
parent 0978343e44
commit 8899d00bfc
7 changed files with 897 additions and 1 deletions

View file

@ -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;
}