mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: use static inline for interfaces instead of macro
It gives better typechecking and a path to make a library of functions.
This commit is contained in:
parent
5e0e1204d7
commit
84bd4b7ea9
32 changed files with 1069 additions and 563 deletions
|
|
@ -15,7 +15,7 @@
|
|||
#define FTOI(type,v,scale,offs,noise,min,max) \
|
||||
(type)f32_round(SPA_CLAMPF((v) * (scale) + (offs) + (noise), min, max))
|
||||
|
||||
#define FMT_OPS_MAX_ALIGN 32
|
||||
#define FMT_OPS_MAX_ALIGN 32u
|
||||
|
||||
#define U8_MIN 0u
|
||||
#define U8_MAX 255u
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue