blob: 1c81483234a87aad4987213955f7fe0a7fc369a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Pulse audio backend doesn't work in v4.0.0-rc4 release
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release (eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
|