pactl 14.2.0: move-sink-input gives error "Failure: Invalid argument"
-bash-5.1$ pactl move-sink-input 495 2
Failure: Invalid argument
Sink #2
State: SUSPENDED
Name: kitchen_stereo
Description: Remapped CM106 Like Sound Device Analog Surround 5.1
Driver: module-remap-sink.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 10
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: kitchen_stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.master_device = "alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-51"
device.class = "filter"
device.description = "Remapped CM106 Like Sound Device Analog Surround 5.1"
device.icon_name = "audio-card"
Formats:
pcm
Sink Input #495
Driver: protocol-native.c
Owner Module: 14
Client: 240
Sink: 1
Sample Specification: float32le 8ch 44100Hz
Channel Map: front-left,front-right,front-center,lfe,rear-left,rear-right,side-left,side-right
Format: pcm, format.sample_format = "\"float32le\"" format.channels = "8" format.channel_map = "\"front-left,front-right,front-center,lfe,rear-left,rear-right,side-left,side-right\""
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB, front-center: 65536 / 100% / 0.00 dB, lfe: 65536 / 100% / 0.00 dB, rear-left: 65536 / 100% / 0.00 dB, rear-right: 65536 / 100% / 0.00 dB,
side-left: 65536 / 100% / 0.00 dB, side-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 65419 usec
Sink Latency: 18848 usec
Resample method: copy
Properties:
media.role = hex:
phonon.streamid = hex:
media.name = "Playback Stream"
application.name = "qmlscene"
native-protocol.peer = "TCP/IP client from 10.238.9.251:43210"
native-protocol.version = "32"
application.process.id = "7454"
application.process.user = "box"
application.process.host = "localhost"
application.process.binary = "qmlscene"
application.language = "C"
window.x11.display = ":0"
application.process.machine_id = "ae66f93fa4fc425aaca73c53f89ccfc8"
application.process.session_id = "c1"
module-stream-restore.id = "sink-input-by-application-name:qmlscene"
There are some special things happening here:
- the sink is remapped
- the sink-input comes from the tcp client and it comes from a remote application run with env PULSE_SERVER
- the current sink for this input (default sink) and the sink i tried to move to, have different nr of channels
(i also tried with the name of the sink, but no dice)