[pulseaudio-discuss] Trouble with module-cli-protocol-tcp

Jim Duda jim at duda.tzo.com
Mon Apr 14 13:21:19 PDT 2008


I'm trying to set a sink-mute using module-cli-protocol-tcp.

I'm getting "Failed to parse mute switch".  See below.

Note that if I do the same thing using module-cli, from the shell used to launch pulseaudio, this command works fine.

Also, how do I exit the tcp login?  exit always terminates the deamon.  The documentation suggests using ^D (control D).
I tried using ^D.  In response to ^D, I get "unkown command".

Welcome to PulseAudio! Use "help" for usage information.
>>> list-sinks
2 sink(s) available.
  * index: 0
        name: <alsa_surround>
        driver: <modules/module-alsa-sink.c>
        flags: LATENCY HARDWARE
        state: RUNNING
        volume: <0: 100% 1: 100% 2: 100% 3: 100% 4: 100% 5: 100%>
        mute: <0>
        latency: <4416 usec>
        monitor source: <0>
        sample spec: <s16le 6ch 48000Hz>
        channel map: <front-left,front-right,rear-left,rear-right,front-center,lfe>
        used by: <1>
        linked by: <1>
        module: <0>
        description: <ALSA PCM on pulseaudio (pulseaudio)>
    index: 1
        name: <rtp>
        driver: <modules/module-null-sink.c>
        flags: LATENCY
        state: SUSPENDED
        volume: <0: 100% 1: 100%>
        mute: <1>
        latency: <0 usec>
        monitor source: <1>
        sample spec: <s16le 2ch 44100Hz>
        channel map: <front-left,front-right>
        used by: <0>
        linked by: <1>
        module: <7>
        description: <RTP Multicast Sink>
>>> set-sink-mute rtp 1
Failed to parse mute switch.

Thanks,

Jim







More information about the pulseaudio-discuss mailing list