mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
buffer: add GenericFd memory type
Add a Generic fd type. These could be eventfd or timerfd, the meaning can depend on extra metadata.
This commit is contained in:
parent
77f3b7f6e4
commit
f3fe20bdde
4 changed files with 15 additions and 4 deletions
|
|
@ -17,7 +17,8 @@ PWTEST(buffer_abi_types)
|
|||
pwtest_int_eq(SPA_DATA_MemFd, 2);
|
||||
pwtest_int_eq(SPA_DATA_DmaBuf, 3);
|
||||
pwtest_int_eq(SPA_DATA_MemId, 4);
|
||||
pwtest_int_eq(_SPA_DATA_LAST, 5);
|
||||
pwtest_int_eq(SPA_DATA_GenericFd, 5);
|
||||
pwtest_int_eq(_SPA_DATA_LAST, 6);
|
||||
|
||||
/* meta */
|
||||
pwtest_int_eq(SPA_META_Invalid, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue