diff --git a/ossp-padsp.c b/ossp-padsp.c index 31bbb33..a998a8b 100644 --- a/ossp-padsp.c +++ b/ossp-padsp.c @@ -1536,15 +1536,9 @@ static void action_post(void) int main(int argc, char **argv) { int rc; - static char runtime_dir[PATH_MAX]; ossp_slave_init(argc, argv); - snprintf(runtime_dir, sizeof runtime_dir, "/run/user/%llu", - (long long unsigned) getuid()); - if (access(runtime_dir, R_OK | X_OK) == 0) - setenv("XDG_RUNTIME_DIR", runtime_dir, 0); - page_size = sysconf(_SC_PAGE_SIZE); mainloop = pa_threaded_mainloop_new();