mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -05:00
spa: add type info for device event objects
This commit is contained in:
parent
4084db8641
commit
6a2778c2e7
3 changed files with 61 additions and 1 deletions
|
|
@ -52,6 +52,7 @@ static const struct spa_type_info spa_type_direction[] = {
|
|||
{ 0, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
#include <spa/monitor/type-info.h>
|
||||
#include <spa/node/type-info.h>
|
||||
#include <spa/param/type-info.h>
|
||||
#include <spa/control/type-info.h>
|
||||
|
|
@ -99,7 +100,7 @@ static const struct spa_type_info spa_types[] = {
|
|||
{ SPA_TYPE_POINTER_Dict, SPA_TYPE_Pointer, SPA_TYPE_INFO_POINTER_BASE "Dict", NULL },
|
||||
|
||||
{ SPA_TYPE_EVENT_START, SPA_TYPE_Object, SPA_TYPE_INFO_Event, NULL },
|
||||
{ SPA_TYPE_EVENT_Device, SPA_TYPE_Object, SPA_TYPE_INFO_EVENT_BASE "Device", NULL },
|
||||
{ SPA_TYPE_EVENT_Device, SPA_TYPE_Object, SPA_TYPE_INFO_EVENT_BASE "Device", spa_type_device_event },
|
||||
{ SPA_TYPE_EVENT_Node, SPA_TYPE_Object, SPA_TYPE_INFO_EVENT_BASE "Node", spa_type_node_event },
|
||||
|
||||
{ SPA_TYPE_COMMAND_START, SPA_TYPE_Object, SPA_TYPE_INFO_Command, NULL },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue