mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
node: add Media/Category/Role properties
This commit is contained in:
parent
bcddac6e2b
commit
b9171b5e57
1 changed files with 9 additions and 0 deletions
|
|
@ -91,6 +91,15 @@ struct pw_node_events {
|
|||
void (*reuse_buffer) (void *data, uint32_t port_id, uint32_t buffer_id);
|
||||
};
|
||||
|
||||
/** Media type of the node, Audio, Video, Midi */
|
||||
#define PW_NODE_PROP_MEDIA "pipewire.media"
|
||||
/** Category: Playback, Capture, Duplex, Sink, Source */
|
||||
#define PW_NODE_PROP_CATEGORY "pipewire.category"
|
||||
/** Role: Movie, Music, Camera, Screen, Communication, Game, Notification, DSP,
|
||||
* Production, Accessibility, Test */
|
||||
#define PW_NODE_PROP_ROLE "pipewire.role"
|
||||
/** exclusive access to device */
|
||||
#define PW_NODE_PROP_EXCLUSIVE "pipewire.exclusive"
|
||||
/** Automatically connect this node to a compatible node */
|
||||
#define PW_NODE_PROP_AUTOCONNECT "pipewire.autoconnect"
|
||||
/** Try to connect the node to this node id */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue