mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
protocol-native: Enable srbchannel
The srbchannel is enabled if protocol version >= 30 and SHM is available. There is also a module parameter srbchannel=false that can be used for disabling the srbchannel. The setup is done in these steps: 1) Server receives authentication (like today) 2) Server sends enable_srbchannel to client 3) Server sends memblock to client 4) Client receives enable_srbchannel 5) Client receives memblock 6) Client sends enable_srbchannel back to server 7) Client switches over 8) Server receives enable_srbchannel and switches over Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
1827991548
commit
a476371254
3 changed files with 81 additions and 1 deletions
|
|
@ -44,6 +44,7 @@ typedef struct pa_native_options {
|
|||
pa_module *module;
|
||||
|
||||
bool auth_anonymous;
|
||||
bool srbchannel;
|
||||
char *auth_group;
|
||||
pa_ip_acl *auth_ip_acl;
|
||||
pa_auth_cookie *auth_cookie;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue