mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
media-session: keep more info about ports
Parse the DSP type and the channel and keep it around
This commit is contained in:
parent
0ca4a5621c
commit
f6753eefc3
2 changed files with 25 additions and 2 deletions
|
|
@ -153,6 +153,11 @@ struct sm_port {
|
|||
struct sm_object obj;
|
||||
|
||||
enum pw_direction direction;
|
||||
#define SM_PORT_TYPE_UNKNOWN 0
|
||||
#define SM_PORT_TYPE_DSP_AUDIO 1
|
||||
#define SM_PORT_TYPE_DSP_MIDI 2
|
||||
uint32_t type;
|
||||
uint32_t channel;
|
||||
struct sm_node *node;
|
||||
struct spa_list link; /**< link in node port_list */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue