summaryrefslogtreecommitdiff
path: root/src/pulsecore/mem.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix a strict-prototypes warningEvan Miller2021-07-141-1/+1
| | | | | | | Some older compilers complain about the empty arg list in pa_memfd_is_locally_supported. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/603>
* client audio: Support memfd transportAhmed S. Darwish2016-04-271-0/+9
| | | | | | | | | | | | | Now that all layers in the stack support memfd blocks, add memfd pools support for client context and audio playback data. Use such memfd pools by default only if the server signals memfd support in its connection negotiations. Also add ability for clients to force-disable memfd transport through the `enable-memfd=' client configuration option. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
* pulsecore: Transform pa_mempool_new() into a factory methodAhmed S. Darwish2016-04-021-0/+51
Soon we're going to have three types of memory pools: POSIX shm_open() pools, memfd memfd_create() ones, and privately malloc()-ed pools. Thus introduce annotations for the memory types supported and change pa_mempool_new() into a factory method based on required memory. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>