mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
alsa: use PIPEWIRE_REMOTE env variable
This commit is contained in:
parent
64067bafe3
commit
5bf6acad06
2 changed files with 11 additions and 0 deletions
|
|
@ -899,6 +899,10 @@ static int snd_pcm_pipewire_open(snd_pcm_t **pcmp, const char *name,
|
|||
if (!pw)
|
||||
return -ENOMEM;
|
||||
|
||||
str = getenv("PIPEWIRE_REMOTE");
|
||||
if (str != NULL)
|
||||
server_name = str;
|
||||
|
||||
str = getenv("PIPEWIRE_NODE");
|
||||
|
||||
pw_log_debug(NAME" %p: open %s %d %d %08x %d %s %d %d '%s'", pw, name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue