[pulseaudio-discuss] Rename Sink

Colin Guthrie gmane at colin.guthr.ie
Mon Oct 17 09:48:45 PDT 2011


'Twas brillig, and Arun Raghavan at 17/10/11 13:08 did gyre and gimble:
> On Mon, 2011-10-17 at 17:34 +0530, Arun Raghavan wrote:
>> On Wed, 2011-10-12 at 12:04 -0400, Cyrus Vafadari wrote:
>>> 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"
>>
>> You need to load module-device-manager (add 'load-module
>> module-device-manager' to your ~/.pulse/default.pa
>> or /etc/pulse/default.pa) and then you can right click on the sink name
>> in pavucontrol to rename it.
> 
> Ah, I was wrong -- it only sets device.description as Maarten described.

Still if it's a UI think this might be sufficient.

That said, depending on how things work out in the future, more emphasis
might be placed on card + port names rather than sink names
specifically.... this is somewhat work in progress tho'.

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the pulseaudio-discuss mailing list