mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
avb: more work
Implement generic MRP parsing. Implement more MRP messages. Implement MRP timeouts. Implement MRP join/leave. Prepare for generating and sending MRP packets.
This commit is contained in:
parent
0efc02cea6
commit
f64f8cdd4d
11 changed files with 707 additions and 137 deletions
|
|
@ -104,6 +104,24 @@ struct avbtp_packet_msrp_domain {
|
|||
uint16_t sr_class_vid;
|
||||
} __attribute__ ((__packed__));
|
||||
|
||||
int avbtp_msrp_register(struct server *server);
|
||||
|
||||
struct avbtp_msrp_attribute {
|
||||
struct avbtp_mrp_attribute *mrp;
|
||||
uint8_t type;
|
||||
uint8_t param;
|
||||
union {
|
||||
struct avbtp_packet_msrp_talker talker;
|
||||
struct avbtp_packet_msrp_talker_fail talker_fail;
|
||||
struct avbtp_packet_msrp_listener listener;
|
||||
struct avbtp_packet_msrp_domain domain;
|
||||
} attr;
|
||||
};
|
||||
|
||||
struct avbtp_msrp;
|
||||
|
||||
struct avbtp_msrp_attribute *avbtp_msrp_attribute_new(struct avbtp_msrp *msrp,
|
||||
uint8_t type);
|
||||
|
||||
struct avbtp_msrp *avbtp_msrp_register(struct server *server);
|
||||
|
||||
#endif /* AVBTP_MSRP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue