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

@ -123,7 +123,9 @@ static int module_init(struct pw_module *module, struct pw_properties *propertie
"client-device",
SPA_TYPE_INTERFACE_Device,
SPA_VERSION_DEVICE,
NULL,
pw_properties_new(
PW_KEY_FACTORY_USAGE, CLIENT_DEVICE_USAGE,
NULL),
sizeof(*data));
if (factory == NULL)
return -ENOMEM;