create iwpctl and rest of the functionality
wpctl usage
sashok@fedora:~/code/pipewire/subprojects/wireplumber$ iwpctl
[wpctl]>>streams
streams:
56. main-hub-output
[wpctl]>>sinks
sinks:
36. main-hub
35. alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink
37. alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink
64. alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink
75. alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
[wpctl]>>link 56 75 #link hub output to real sink
[wpctl]>>streams
streams:
56. main-hub-output
93. pw-play
[wpctl]>>link 93 #link pw-play to the hub
[wpctl]>>streams
streams:
56. main-hub-output
93. pw-play
99. pw-play
[wpctl]>>link 99 #link the 2n pw-play to the hub, you an observe the two steams are mixed and played.
[wpctl]>>
[wpctl]>>scan # here after all the new nodes added will be printed on the consol
[wpctl]>>
76. alsa_output.usb-Plantronics_Plantronics_Blackwire_3220_Series_F09C5D6829CCF840A14F7FCBBFD434A7-00.analog-stereo
42. alsa_input.usb-Plantronics_Plantronics_Blackwire_3220_Series_F09C5D6829CCF840A14F7FCBBFD434A7-00.analog-stereo
@
[wpctl]>>link 56 76 #link the hub to the new usb headset. the mixed steam can be heard on the new device