mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
mem: use MemId to pass buffer memory
Track memory on buffers in the server and simplify some memory tracking on the client. Don't send internal memblock flags to client. Add read/write flags to memblock.
This commit is contained in:
parent
2caf81c97c
commit
bae1426615
6 changed files with 30 additions and 29 deletions
|
|
@ -43,6 +43,7 @@ enum spa_data_type {
|
|||
* struct spa_data is set. */
|
||||
SPA_DATA_MemFd, /**< generic fd, mmap to get to memory */
|
||||
SPA_DATA_DmaBuf, /**< fd to dmabuf memory */
|
||||
SPA_DATA_MemId, /**< memory is identified with an id */
|
||||
|
||||
SPA_DATA_LAST, /**< not part of ABI */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue