[pulseaudio-discuss] [PATCH, repost] "sink_description" option for module-remap-sink

Lennart Poettering lennart at poettering.net
Tue Jun 2 04:16:00 PDT 2009


On Tue, 02.06.09 10:56, Jan Kasprzak (kas at fi.muni.cz) wrote:

> [ this is a repost of the patch - I have not received either positive
>   or negative feedback so far. Please tell me whether this enhancement
>   is worth including. The patch is against current git head of PA ]
> 
> When I split the 8-channel output to four independent stereo sinks
> (as described in http://pulseaudio.org/wiki/Modules), the new sinks
> are all visible in pavucontrol under the same label (which is
> "Remapped <the original sink name>"), so it is not clear which one
> user wants to use. One possible way is to fix pavucontrol to use
> sink names, the other one is to make description configurable
> in module-remap-sink. This patch implements the second approach.

All modules in PA git now know parameters "sink_properties" which can
be used for what you want to do. Instead of passing
"sink_description=foo" you can pass "sink_properties='device.description=foo'"
which would have the equivalent effect, but also allows to set
arbitrary properties on the sink.

Thanks anyway for your patch, it's much appreciated.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list