[pulseaudio-discuss] Rename Sink
Maarten Bosmans
mkbosmans at gmail.com
Mon Oct 17 05:57:33 PDT 2011
Note: please do not hijack threads and please use inline reply instead
of top posting, as now it is not really clear what part of which
message you're replying to.
2011/10/17 Chris <kc2rgw at gmail.com>:
> Oh hey, this may answer my question from a few days ago.
>
> So I want a sink/source single device so I can dump output from one
> app and attach another as input...this line from the wiki...is this
> the right type? Basically a patch cable is what I want.
This was already answered, right? Use module-null-sink.
> add-autoload-sink combined module-combine master=output slaves=output2
> sink_name=combined
autoload-sink is deprecated, IIRC. Just use load-module.
Read the Modules page on the wiki. master argument of module-combine
is deprecated (so is module-combine, use module-combine-sink)
> I just name it 'virtual cable' and the apps if pulseaudio aware would
> see it in their choices for inputs and outputs I'm assuming?
Indeed.
> Sorry for being dense, I somehow didn't realize the commands
> 'add-autoload-sink' etc were just passed to pulseaudio on the command
> line.
Yeah, the syntax of default.pa is just a bunch of commands of the CLI protocol.
Maarten
> On Mon, Oct 17, 2011 at 7:43 AM, Maarten Bosmans <mkbosmans at gmail.com> wrote:
>>
>> 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
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
>
>
> --
> 73 de Chris KC2RGW
> -----------------------------------------------
> ˙dn ǝpıs ʇɥƃıɹ ɹoʇıuoɯ ɹnoʎ uɹnʇ
> ǝsɐǝןd 'sıɥʇ ƃuıpɐǝɹ ǝɹɐ noʎ ɟı
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
More information about the pulseaudio-discuss
mailing list