mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
param: move param_info to params.h
This commit is contained in:
parent
121586cfae
commit
c904809e75
4 changed files with 14 additions and 17 deletions
|
|
@ -47,12 +47,20 @@ enum spa_param_type {
|
|||
SPA_PARAM_PortConfig, /**< port configuration as SPA_TYPE_OBJECT_ParamPortConfig */
|
||||
};
|
||||
|
||||
/** Properties for SPA_TYPE_OBJECT_ParamList */
|
||||
enum spa_param_list {
|
||||
SPA_PARAM_LIST_START,
|
||||
SPA_PARAM_LIST_id, /**< id of the supported list param (Id enum spa_param_type) */
|
||||
/** information about a parameter */
|
||||
struct spa_param_info {
|
||||
uint32_t id; /**< enum spa_param_type */
|
||||
#define SPA_PARAM_INFO_SERIAL (1<<0) /**< bit to signal update even when the
|
||||
* read/write flags don't change */
|
||||
#define SPA_PARAM_INFO_READ (1<<1)
|
||||
#define SPA_PARAM_INFO_WRITE (1<<2)
|
||||
#define SPA_PARAM_INFO_READWRITE (SPA_PARAM_INFO_WRITE|SPA_PARAM_INFO_READ)
|
||||
uint32_t flags;
|
||||
uint32_t padding[6];
|
||||
};
|
||||
|
||||
#define SPA_PARAM_INFO(id,flags) (struct spa_param_info){ (id), (flags) }
|
||||
|
||||
/** properties for SPA_TYPE_OBJECT_ParamBuffers */
|
||||
enum spa_param_buffers {
|
||||
SPA_PARAM_BUFFERS_START,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue