output/pipewire: append output name to PW node name
This commit is contained in:
parent
528e05f025
commit
0dacde32f2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user