Set the current active runtime when a headset connects

This commit is contained in:
Guillaume Meunier
2024-02-19 23:36:28 +01:00
parent a5a1ad1cbd
commit 9efe3852f4
10 changed files with 180 additions and 41 deletions
+3
View File
@@ -29,6 +29,7 @@
#include "hostname.h"
#include <shared/ipc_protocol.h>
#include <util/u_file.h>
#include "active_runtime.h"
// Insert the on load constructor to init trace marker.
U_TRACE_TARGET_SETUP(U_TRACE_WHICH_SERVICE)
@@ -237,6 +238,8 @@ int inner_main(int argc, char * argv[])
return EXIT_FAILURE;
}
active_runtime runtime_setter;
pid_t client_pid = start_application();
pid_t server_pid = fork();