summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--infos.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/infos.sh b/infos.sh
new file mode 100644
index 0000000..b2bd51e
--- /dev/null
+++ b/infos.sh
@@ -0,0 +1,35 @@
+$ pw-cli list-objects
+ [...]
+ id 50, type PipeWire:Interface:Node/3
+ object.serial = "51"
+ object.path = "alsa:pcm:3:front:3:playback"
+ factory.id = "18"
+ client.id = "33"
+ device.id = "47"
+ priority.session = "1009"
+ priority.driver = "1009"
+ node.description = "USB Audio Analog Stereo"
+ node.name = "alsa_output.usb-Generic_USB_Audio-00.analog-stereo"
+ node.nick = "USB Device 0xdb0 0x422d"
+ media.class = "Audio/Sink"
+ [...]
+ id 73, type PipeWire:Interface:Node/3
+ object.serial = "1170"
+ object.path = "alsa:pcm:4:front:4:playback"
+ factory.id = "18"
+ client.id = "33"
+ device.id = "71"
+ priority.session = "1009"
+ priority.driver = "1009"
+ node.description = "Sennheiser PC 8.2 USB Analog Stereo"
+ node.name = "alsa_output.usb-Sennheiser_Sennheiser_PC_8.2_USB_A002900204807706-00.analog-stereo"
+ node.nick = "Sennheiser PC 8.2 USB"
+ media.class = "Audio/Sink"
+ [...]
+
+$ pw-cli info 50 |grep node.desc
+* node.description = "USB Audio Analog Stereo"
+
+$ pw-cli info 73 |grep node.desc
+* node.description = "Sennheiser PC 8.2 USB Analog Stereo"
+