core: Support memfd transport; bump protocol version

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

Now that all layers in the stack support memfd blocks, add memfd support for the daemon's global core mempool. Also introduce "enable-memfd=" daemon argument and configuration option.

For now, memfd support is an opt-in feature to be activated only when daemon's enable-memfd= is set to yes.

d2a6afc core: Support memfd transport; bump protocol version
PROTOCOL | 37 ++++++++++++++++++++++++++++
configure.ac | 2 +-
man/pulse-daemon.conf.5.xml.in | 7 +++++-
man/pulseaudio.1.xml.in | 15 +++++++++---
shell-completion/bash/pulseaudio | 4 ++--
shell-completion/zsh/_pulseaudio | 1 +
src/daemon/cmdline.c | 13 +++++++++-
src/daemon/daemon-conf.c | 2 ++
src/daemon/daemon-conf.h | 1 +
src/daemon/main.c | 4 +++-
src/pulsecore/core.c | 9 ++++---
src/pulsecore/core.h | 2 +-
src/pulsecore/protocol-native.c | 49 +++++++++++++++++++++++++++++---------
13 files changed, 122 insertions(+), 24 deletions(-)

Upstream: cgit.freedesktop.org


  • Share