[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.
From: |
Ivan Volosyuk |
Subject: |
[Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release |
Date: |
Fri, 19 Apr 2019 01:59:39 -0000 |
Public bug reported:
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
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
- [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release,
Ivan Volosyuk <=