modules: add usage to factories

Improve audio-dsp properties
Fix some keys
This commit is contained in:
Wim Taymans 2019-05-31 16:41:07 +02:00
parent d4def56bcb
commit a672a9ee67
9 changed files with 44 additions and 29 deletions

View file

@ -320,7 +320,9 @@ static int module_init(struct pw_module *module, struct pw_properties *propertie
"link-factory",
PW_TYPE_INTERFACE_Link,
PW_VERSION_LINK_PROXY,
NULL,
pw_properties_new(
PW_KEY_FACTORY_USAGE, FACTORY_USAGE,
NULL),
sizeof(*data));
if (factory == NULL)
return -ENOMEM;