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:
Wim Taymans 2024-04-02 11:42:09 +02:00
parent 77f3b7f6e4
commit f3fe20bdde
4 changed files with 15 additions and 4 deletions

View file

@ -855,6 +855,7 @@ do_port_use_buffers(struct impl *impl,
switch (d->type) {
case SPA_DATA_DmaBuf:
case SPA_DATA_MemFd:
case SPA_DATA_GenericFd:
{
uint32_t flags = PW_MEMBLOCK_FLAG_DONT_CLOSE;