<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi there,<div><br></div><div>I have a system where I need to move sources to different sinks according to a policy. I thought I'd try this out using pacmd before I start trying to code this up with pulse, put pacmd does not behave as expected (by me :).<div><br></div><div>I tried the following command in pacmd:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana; ">>>> move-sink-input 0 hdaAudio.monitor<br>No sink input found with this index.<br></span></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><font class="Apple-style-span" face="Verdana">When I list the sinks and sources I get the output listed below.</font></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><font class="Apple-style-span" face="Verdana">Is anyone familiar with pacmd. According to the help, this looks as if it should work.</font></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><font class="Apple-style-span" face="Verdana">Eventually I want to publish several virtual devices, route them to a mixer (possibly via an SRC) and route the mixer output to a specific ALSA sink. I need two instances of mixers so that I can mix some streams to one output device and some streams to another. I need to be able to dynamically rout the entire output to another ALSA sink depending on the policy set. I'd also like to rout sources to the different mixer instances as required. If I can do routing within a single mixer instance, so much the better. Is Pulse capable of this or do I need to find another route to implement this.</font></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><font class="Apple-style-span" face="Verdana">Thanks for any advice,</font></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><font class="Apple-style-span" face="Verdana">Nick</font></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><font class="Apple-style-span" face="Verdana">here is the output of list for sources and sinks:</font></div><div><font class="Apple-style-span" face="Verdana"><br></font></div><div><!--StartFragment--><font face="Verdana, Helvetica, Arial"><span style="font-size:12.0px">>>> list-sources<br>
3 source(s) available.<br>
index: 0<br>
name: <usbAudio.monitor><br>
driver: <modules/module-alsa-sink.c><br>
flags:<br>
state: IDLE<br>
volume: <0: 100% 1: 100%><br>
mute: <0><br>
latency: <0 usec><br>
sample spec: <s16le 2ch 44100Hz><br>
channel map: <front-left,front-right><br>
used by: <0><br>
linked by: <0><br>
monitor_of: <0><br>
module: <0><br>
description: <Monitor Source of ALSA PCM on usbLexiconAlpha (USB Audio) via DMA><br>
index: 1<br>
name: <hdaAudio.monitor><br>
driver: <modules/module-alsa-sink.c><br>
flags:<br>
state: IDLE<br>
volume: <0: 100% 1: 100%><br>
mute: <0><br>
latency: <0 usec><br>
sample spec: <s16le 2ch 44100Hz><br>
channel map: <front-left,front-right><br>
used by: <0><br>
linked by: <0><br>
monitor_of: <1><br>
module: <1><br>
description: <Monitor Source of ALSA PCM on intelHDA (ALC883 Analog) via DMA><br>
* index: 2<br>
name: <alsa_input.hw_0><br>
driver: <modules/module-alsa-source.c><br>
flags: HW_VOLUME_CTRL LATENCY HARDWARE<br>
state: IDLE<br>
volume: <0: 0% 1: 0%><br>
mute: <0><br>
latency: <23219 usec><br>
sample spec: <s16le 2ch 44100Hz><br>
channel map: <front-left,front-right><br>
used by: <0><br>
linked by: <0><br>
module: <2><br>
description: <ALSA PCM on hw:0 (ALC883 Analog) via DMA><br>>>><br>
<br>
</span></font>
<!--EndFragment-->
</div></div></body></html>