mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -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
|
|
@ -73,19 +73,6 @@ struct spa_fraction {
|
|||
uint32_t denom;
|
||||
};
|
||||
|
||||
struct spa_param_info {
|
||||
uint32_t id;
|
||||
#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) }
|
||||
|
||||
#define SPA_N_ELEMENTS(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#define SPA_MIN(a,b) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue