[pulseaudio-discuss] Remapped sinks: Descriptions and disadvantages?

Timothy J Massey tmassey at obscorp.com
Sun Jun 28 03:33:35 PDT 2009


Colin Guthrie <gmane at colin.guthr.ie> wrote on 06/27/2009 05:32:12 PM:

> 'Twas brillig, and Timothy J Massey at 27/06/09 21:25 did gyre and 
gimble:
> > I think you might have misinterpreted what I wrote.  I'm not (yet) 
talking 
> > about module-combine.  I'm using module-remap-sink.
> 
> Gah, so you are :)
> 
> Yeah I totally misread your original mail. Still the patch still fixes a 

> problem with module-combine so that's all good :)
> 
> Looking at the code, module-remap-sink shouldn't suffer from this bug 
> so, the arguments as noted previously should work and allow you to set 
> the description as you want without any patching.

As I mentioned in the e-mail that you replied to, it does *not*.  All 
three of these module-remap-sink commands work perfectly without the 
sink_properties parameter.  Yet when I add it as either the first or the 
last parameter, it fails.  The PA module wiki page does not mention the 
sink_properties parameter, so I'm not sure where it should go (or even if 
the parameters are position-sensitive?).

This is from a vanilla Ubuntu 9.04 installation.

tmassey at mdsound:~$ pulseaudio &
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
[1] 32229
tmassey at mdsound:~$ N: main.c: Called SUID root and real-time and/or 
high-priority scheduling was requested in the configuration. However, we 
lack the necessary privileges:
N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us 
the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO 
resource limits.
N: main.c: For enabling real-time/high-priority scheduling please acquire 
the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or 
increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 
Hz.
W: module-alsa-sink.c: Your kernel driver is broken: it reports a volume 
range from -37.00 dB to -37.00 dB which makes no sense.

tmassey at mdsound:~$ pacmd
Welcome to PulseAudio! Use "help" for usage information.
>>> load-module module-remap-sink sink_name=zone1 
master=alsa_output.pci_8086_2445_sound_card_0_alsa_playback_0 channels=2 
master_channel_map=front-left,front-right 
channel_map=front-left,front-right
W: module-remap-sink.c: No remapping configured, proceeding nonetheless!
>>>
>>> load-module module-remap-sink sink_name=zone2 
master=alsa_output.usb_device_41e_3010_noserial_if0_sound_card_0_alsa_playback_0 
channels=2 master_channel_map=front-left,front-right 
channel_map=front-left,front-right sink_properties="device.description='My 
Preferred Name'"
E: module-remap-sink.c: Failed to parse module arguments.
E: module.c: Failed to load  module "module-remap-sink" (argument: 
"sink_name=zone2 
master=alsa_output.usb_device_41e_3010_noserial_if0_sound_card_0_alsa_playback_0 
channels=2 master_channel_map=front-left,front-right 
channel_map=front-left,front-right sink_properties="device.description='My 
Preferred Name'""): initialization failed.
Module load failed.
>>>
>>> load-module module-remap-sink sink_properties="device.description='My 
Preferred Name'" sink_name=zone3 
master=alsa_output.usb_device_d8c_103_noserial_if0_sound_card_0_alsa_playback_0 
channels=2 master_channel_map=front-left,front-right 
channel_map=front-left,front-right
E: module-remap-sink.c: Failed to parse module arguments.
E: module.c: Failed to load  module "module-remap-sink" (argument: 
"sink_properties="device.description='My Preferred Name'" sink_name=zone3 
master=alsa_output.usb_device_d8c_103_noserial_if0_sound_card_0_alsa_playback_0 
channels=2 master_channel_map=front-left,front-right 
channel_map=front-left,front-right"): initialization failed.
Module load failed.
>>>
>>>

Tim Massey




More information about the pulseaudio-discuss mailing list