[pulseaudio-discuss] Rename Sink
Maarten Bosmans
mkbosmans at gmail.com
Mon Oct 17 04:43:16 PDT 2011
2011/10/12 Cyrus Vafadari <cyrusv at mit.edu>:
> Is there a way to rename a sink?
> i.e., I want the pacmd list-sinks to return "name: <Basement>" instead of
> "name:
> <alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-stereo>"
> card: 2
> <alsa_card.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device>
> device.bus_path = "pci-0000:00:1d.0-usb-0:2:1.0"
> sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/sound/card1"
I don't think it is possible to change a sink name. module-udev-detect
sets this. If you want to set the sink name, you should load
module-alsa-sink manually. This is not advised though.
A better solution would be to set the device.description property, see
http://pulseaudio.org/wiki/CLI
This string is shown in most UIs for the sink.
Maarten
More information about the pulseaudio-discuss
mailing list