mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
spa: make events and commands as objects
So we can serialize and introspect them more easily
This commit is contained in:
parent
4c4c0f2a7f
commit
c951264fff
26 changed files with 423 additions and 327 deletions
|
|
@ -130,8 +130,10 @@ typedef void (*SpaNotify) (void *data);
|
|||
|
||||
#ifdef __GNUC__
|
||||
# define SPA_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
|
||||
# define SPA_ALIGNED(align) __attribute__ ((aligned (align)))
|
||||
#else
|
||||
# define SPA_PRINTF_FUNC(fmt, arg1)
|
||||
# define SPA_ALIGNED(align)
|
||||
#endif
|
||||
|
||||
#define SPA_ROUND_UP_N(num,align) ((((num) + ((align) - 1)) & ~((align) - 1)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue