mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
win32: Fix (interim) esound paths in module-protocol-stub.c
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/360>
This commit is contained in:
parent
9c774c6295
commit
68cb06b5fd
1 changed files with 3 additions and 1 deletions
|
|
@ -300,7 +300,9 @@ int pa__init(pa_module*m) {
|
|||
|
||||
# if defined(USE_PROTOCOL_ESOUND)
|
||||
|
||||
# if defined(USE_PER_USER_ESOUND_SOCKET)
|
||||
/* Windows doesn't support getuid(), so we ignore the per-user Esound socket compile flag.
|
||||
* Moreover, Esound Unix sockets haven't been supported on Windows historically. */
|
||||
# if defined(USE_PER_USER_ESOUND_SOCKET) && !defined(OS_IS_WIN32)
|
||||
u->socket_path = pa_sprintf_malloc("/tmp/.esd-%lu/socket", (unsigned long) getuid());
|
||||
# else
|
||||
u->socket_path = pa_xstrdup("/tmp/.esd/socket");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue