3006645121e52fc78569fa8edff728ea16296f1a
[AGL/meta-agl-devel.git] /
1 From a7379880b3cb14ce81cbb3475b1b251df60c86f8 Mon Sep 17 00:00:00 2001
2 From: George Kiagiadakis <george.kiagiadakis@collabora.com>
3 Date: Fri, 9 Aug 2019 13:26:15 +0300
4 Subject: [PATCH] daemon config & remote: load module-session-manager by
5  default
6
7 Upstream-Status: Pending
8 ---
9  src/daemon/pipewire.conf.in | 1 +
10  src/pipewire/remote.c       | 1 +
11  2 files changed, 2 insertions(+)
12
13 diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
14 index 079ec730..19c898b9 100644
15 --- a/src/daemon/pipewire.conf.in
16 +++ b/src/daemon/pipewire.conf.in
17 @@ -21,4 +21,5 @@ load-module libpipewire-module-client-device
18  load-module libpipewire-module-access
19  load-module libpipewire-module-adapter
20  load-module libpipewire-module-link-factory
21 +load-module libpipewire-module-session-manager
22  exec build/src/examples/media-session
23 diff --git a/src/pipewire/remote.c b/src/pipewire/remote.c
24 index 2b545f79..62841e58 100644
25 --- a/src/pipewire/remote.c
26 +++ b/src/pipewire/remote.c
27 @@ -242,6 +242,7 @@ struct pw_remote *pw_remote_new(struct pw_core *core,
28         pw_module_load(core, "libpipewire-module-rtkit", NULL, NULL);
29         pw_module_load(core, "libpipewire-module-client-node", NULL, NULL);
30         pw_module_load(core, "libpipewire-module-adapter", NULL, NULL);
31 +       pw_module_load(core, "libpipewire-module-session-manager", NULL, NULL);
32  
33          spa_list_append(&core->remote_list, &this->link);
34  
35 -- 
36 2.23.0
37