mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
milan-avb: aecp-aem: GET_STREAM_INFO CDL excludes 12-octet AVTPDU common
This commit is contained in:
parent
c967b39f18
commit
d8b9a0f5ab
1 changed files with 3 additions and 1 deletions
|
|
@ -41,10 +41,12 @@ static inline bool mrp_is_declaring(struct avb_mrp_attribute *mrp)
|
||||||
sizeof(struct avb_packet_aecp_aem) + \
|
sizeof(struct avb_packet_aecp_aem) + \
|
||||||
sizeof(struct avb_packet_aecp_aem_setget_stream_info))
|
sizeof(struct avb_packet_aecp_aem_setget_stream_info))
|
||||||
|
|
||||||
|
/* IEEE 1722.1-2021 Section 9.2.1.1.7: CDL excludes the 12-octet AVTPDU common. */
|
||||||
#define AVB_AECP_GET_STREAM_INFO_CDL \
|
#define AVB_AECP_GET_STREAM_INFO_CDL \
|
||||||
(uint16_t)(AVB_AECP_GET_STREAM_INFO_RESPONSE_LEN - \
|
(uint16_t)(AVB_AECP_GET_STREAM_INFO_RESPONSE_LEN - \
|
||||||
sizeof(struct avb_ethernet_header) - \
|
sizeof(struct avb_ethernet_header) - \
|
||||||
sizeof(struct avb_packet_header))
|
sizeof(struct avb_packet_header) - \
|
||||||
|
sizeof(uint64_t))
|
||||||
|
|
||||||
/* Hive (and 1722.1 controllers in general) sends GET_STREAM_INFO as a short
|
/* Hive (and 1722.1 controllers in general) sends GET_STREAM_INFO as a short
|
||||||
* command — only the descriptor pair, sometimes plus the flags word. The
|
* command — only the descriptor pair, sometimes plus the flags word. The
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue