mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-04 01:40:52 -05:00
modules-avb: Introducing entity builder. The entity builder is necessary
to attach ressource to the descriptors instead of having them splitted. It is the case for the avb-streams which in a seperated list. Instead they should be encapsulated within the descriptor itself, as one cannot leave without the other.
This commit is contained in:
parent
8ea56477d9
commit
57af462ecf
3 changed files with 101 additions and 0 deletions
19
src/modules/module-avb/es-builder.h
Normal file
19
src/modules/module-avb/es-builder.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* PipeWire */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2025 Alexandre Malki <alexandre.malki@kebag-logic.com> */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
|
||||
#ifndef __ES_BUILDER_H__
|
||||
#define __ES_BUILDER_H__
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
/**
|
||||
* This is a mandatory feature to add the necessary state information
|
||||
* to create the right entity model
|
||||
**/
|
||||
void es_builder_add_descriptor(struct server *server, uint16_t type,
|
||||
uint16_t index, size_t size, void *ptr_aem);
|
||||
|
||||
|
||||
#endif // __ES_BUILDER_H__
|
||||
Loading…
Add table
Add a link
Reference in a new issue