Commit 0dacde32 authored by Max Kellermann's avatar Max Kellermann

output/pipewire: append output name to PW node name

parent 528e05f0
......@@ -366,9 +366,10 @@ PipeWireOutput::Open(AudioFormat &audio_format)
PW_KEY_MEDIA_CATEGORY, "Playback",
PW_KEY_MEDIA_ROLE, "Music",
PW_KEY_APP_NAME, "Music Player Daemon",
PW_KEY_NODE_NAME, "mpd",
nullptr);
pw_properties_setf(props, PW_KEY_NODE_NAME, "mpd.%s", name);
if (remote != nullptr && target_id == PW_ID_ANY)
pw_properties_setf(props, PW_KEY_REMOTE_NAME, "%s", remote);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment