media-session: create a local adaper+a2dp sink/source

Run the a2dp sink and sources with the adapter in the session manager
and export it to PipeWire. The idea is that the codecs should not
preferably not run inside the daemon.
This commit is contained in:
Wim Taymans 2019-07-12 10:04:26 +02:00
parent 57d471b6f4
commit 3745f79fc5
2 changed files with 22 additions and 11 deletions

View file

@ -1267,6 +1267,7 @@ int main(int argc, char *argv[])
pw_core_add_spa_lib(impl.core, "api.v4l2.*", "v4l2/libspa-v4l2");
pw_module_load(impl.core, "libpipewire-module-client-device", NULL, NULL, NULL, NULL);
pw_module_load(impl.core, "libpipewire-module-adapter", NULL, NULL, NULL, NULL);
clock_gettime(CLOCK_MONOTONIC, &impl.now);