mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
|
|
@ -31,14 +31,11 @@ extern "C" {
|
|||
|
||||
#include <spa/utils/defs.h>
|
||||
#include <spa/param/param.h>
|
||||
#include <spa/node/node.h>
|
||||
|
||||
#include <pipewire/proxy.h>
|
||||
|
||||
struct pw_client_node_proxy;
|
||||
|
||||
#define PW_TYPE_INTERFACE__ClientNode PW_TYPE_INTERFACE_BASE "ClientNode"
|
||||
|
||||
#define PW_VERSION_CLIENT_NODE 0
|
||||
|
||||
/** information about a buffer */
|
||||
|
|
|
|||
|
|
@ -33,8 +33,7 @@ extern "C" {
|
|||
#include <spa/param/param.h>
|
||||
#include <spa/node/node.h>
|
||||
|
||||
#define PW_TYPE_PROTOCOL__Native PW_TYPE_PROTOCOL_BASE "Native"
|
||||
#define PW_TYPE_PROTOCOL_NATIVE_BASE PW_TYPE_PROTOCOL__Native ":"
|
||||
#define PW_TYPE_PROTOCOL__Native PW_TYPE_PROTOCOL_BASE "Native"
|
||||
|
||||
struct pw_protocol_native_demarshal {
|
||||
int (*func) (void *object, void *data, size_t size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue