mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-20 06:59:58 -05:00
device: add device object
Make a device object, let the v4l2 monitor create device objects The device object is responsible for dynamically creating nodes.
This commit is contained in:
parent
79253c6d46
commit
e1bd12e599
43 changed files with 1784 additions and 237 deletions
|
|
@ -147,6 +147,7 @@ static const struct spa_type_info spa_types[] = {
|
|||
{ SPA_TYPE_INTERFACE_DBus, SPA_TYPE_INTERFACE_BASE "DBus", SPA_TYPE_Pointer, },
|
||||
{ SPA_TYPE_INTERFACE_Monitor, SPA_TYPE_INTERFACE_BASE "Monitor", SPA_TYPE_Pointer, },
|
||||
{ SPA_TYPE_INTERFACE_Node, SPA_TYPE_INTERFACE_BASE "Node", SPA_TYPE_Pointer, },
|
||||
{ SPA_TYPE_INTERFACE_Device, SPA_TYPE_INTERFACE_BASE "Device", SPA_TYPE_Pointer, },
|
||||
|
||||
{ SPA_TYPE_EVENT_START, SPA_TYPE__Event, SPA_TYPE_Object, },
|
||||
{ SPA_TYPE_EVENT_Monitor, SPA_TYPE_EVENT_BASE "Monitor", SPA_TYPE_Object, spa_type_monitor_event },
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ enum {
|
|||
SPA_TYPE_INTERFACE_DBus,
|
||||
SPA_TYPE_INTERFACE_Monitor,
|
||||
SPA_TYPE_INTERFACE_Node,
|
||||
SPA_TYPE_INTERFACE_Device,
|
||||
|
||||
/* Events */
|
||||
SPA_TYPE_EVENT_START = 0x30000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue