mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
client audio: Support memfd transport
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>
This commit is contained in:
parent
a831e45515
commit
b1d47d60fc
7 changed files with 88 additions and 7 deletions
|
|
@ -88,6 +88,7 @@ struct pa_context {
|
|||
|
||||
bool is_local:1;
|
||||
bool do_shm:1;
|
||||
bool memfd_on_local:1;
|
||||
bool server_specified:1;
|
||||
bool no_fail:1;
|
||||
bool do_autospawn:1;
|
||||
|
|
@ -95,6 +96,8 @@ struct pa_context {
|
|||
bool filter_added:1;
|
||||
pa_spawn_api spawn_api;
|
||||
|
||||
pa_mem_type_t shm_type;
|
||||
|
||||
pa_strlist *server_list;
|
||||
|
||||
char *server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue