client audio: Support memfd transport

System Internals / PulseAudio - Ahmed S. Darwish [gmail.com] - 27 April 2016 08:07 UTC

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.

b1d47d6 client audio: Support memfd transport
man/pulse-client.conf.5.xml.in | 8 +++++++
src/pulse/client-conf.c | 1 +
src/pulse/client-conf.h | 2 +-
src/pulse/context.c | 44 +++++++++++++++++++++++++++++++++++----
src/pulse/internal.h | 3 +++
src/pulsecore/mem.h | 9 ++++++++
src/pulsecore/protocol-native.c | 28 +++++++++++++++++++++++--
7 files changed, 88 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share