mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
milan-avb: cmd-get-counters: add header
This commit is contained in:
parent
6cc669e4e2
commit
99c9248a17
1 changed files with 24 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
/* SPDX-FileCopyrightText: Copyright © 2025 Alexandre Malki */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef __AVB_AECP_AEM_CMD_GET_COUNTERS_H__
|
||||
#define __AVB_AECP_AEM_CMD_GET_COUNTERS_H__
|
||||
|
||||
#include "../aecp-aem.h"
|
||||
|
||||
int handle_cmd_get_counters_milan_v12(struct aecp *aecp, int64_t now,
|
||||
const void *m, int len);
|
||||
|
||||
/**
|
||||
* \brief Periodic counter unsolicited notification fan-out.
|
||||
*
|
||||
* Walks every STREAM_INPUT and STREAM_OUTPUT descriptor and sends a
|
||||
* GET_COUNTERS-shaped AECP AEM RESPONSE as an unsolicited notification
|
||||
* to all registered controllers. Intended to be called once per second
|
||||
* from avb_aecp_aem_periodic.
|
||||
*
|
||||
* \see Milan v1.2 Section 5.4.5 Notifications.
|
||||
*/
|
||||
void cmd_get_counters_periodic_milan_v12(struct aecp *aecp, int64_t now);
|
||||
|
||||
#endif /* __AVB_AECP_AEM_CMD_GET_COUNTERS_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue