mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
monitor: return factory_name in the object_info
Pass a factory_name in the object_info of monitor and device. Restructure the factory name to mean something functionaly. With the factory to library mapping this then means that the implementation of certain factories can be configured in the config file.
This commit is contained in:
parent
89a86db0c4
commit
1d1f035e78
26 changed files with 218 additions and 168 deletions
|
|
@ -64,7 +64,7 @@ struct spa_device_object_info {
|
|||
uint32_t version;
|
||||
|
||||
uint32_t type;
|
||||
const struct spa_handle_factory *factory;
|
||||
const char *factory_name;
|
||||
|
||||
#define SPA_DEVICE_OBJECT_CHANGE_MASK_FLAGS (1u<<0)
|
||||
#define SPA_DEVICE_OBJECT_CHANGE_MASK_PROPS (1u<<1)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ struct spa_monitor_object_info {
|
|||
uint32_t version;
|
||||
|
||||
uint32_t type;
|
||||
const struct spa_handle_factory *factory;
|
||||
const char *factory_name;
|
||||
|
||||
#define SPA_MONITOR_OBJECT_CHANGE_MASK_FLAGS (1u<<0)
|
||||
#define SPA_MONITOR_OBJECT_CHANGE_MASK_PROPS (1u<<1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue