mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-23 01:40:24 -05:00
module-avb: aecp-aem: adding struct base_info. The structure provides
information about the controller that last accessed, the time when when it actually accessed, and the expiring time if a timer has to be implemented
This commit is contained in:
parent
354006a699
commit
32ceb47937
1 changed files with 17 additions and 0 deletions
|
|
@ -77,7 +77,24 @@ struct aecp_aem_unsol_notification_state {
|
|||
|
||||
};
|
||||
|
||||
struct aecp_aem_base_info {
|
||||
/** Originator of the control
|
||||
* This is needed so the unsoolictied notification does not send back SUCCESS
|
||||
* to the originator of of the unsolicited notification */
|
||||
uint64_t controller_entity_id;
|
||||
|
||||
/**
|
||||
* To avoid sending on every change for unsol notifications, only once a
|
||||
* a second
|
||||
* */
|
||||
int64_t last_update;
|
||||
|
||||
/** timeout absolute time*/
|
||||
int64_t expire_timeout;
|
||||
};
|
||||
|
||||
struct aecp_aem_lock_state {
|
||||
struct aecp_aem_base_info base_info;
|
||||
/**
|
||||
* the entity id that is locking this system
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue