... | ... | @@ -351,7 +351,6 @@ context.modules = [ |
|
|
audio.position = [ FL ]
|
|
|
stream.dont-remix = true
|
|
|
target.object = "alsa_input.usb-046d_HD_Pro_Webcam_C920_09D53E1F-02.analog-stereo"
|
|
|
node.dont-reconnect = true
|
|
|
node.passive = true
|
|
|
}
|
|
|
playback.props = {
|
... | ... | @@ -368,6 +367,11 @@ The `stream.dont-remix` property makes sure that only the FL port of the capture |
|
|
|
|
|
The `node.passive` property instructs the session manager to create passive links between the stream and the device node so that, when nothing is connected to the source, both streams will idle (and suspend if the session manager has this configured).
|
|
|
|
|
|
The `node.target` makes the stream connect to the named device automatically by the session manager.
|
|
|
Note that if the device is removed, the stream will move to some other device until the named device
|
|
|
reappears. If you want the virtual device to appear and disappear together with the real device, you
|
|
|
will need to use a WirePlumber script.
|
|
|
|
|
|
## Virtual Sinks
|
|
|
|
|
|
Some professional cards have many independent inputs but you would only like to use a certain pair for media playback. This snippet will set up 2 stereo sinks on the first and second pair of channels of a 7.1 surround device.
|
... | ... | @@ -386,7 +390,6 @@ context.modules = [ |
|
|
node.name = "playback.CM106_stereo_pair_1"
|
|
|
audio.position = [ FL FR ]
|
|
|
target.object = "alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-71"
|
|
|
node.dont-reconnect = true
|
|
|
stream.dont-remix = true
|
|
|
node.passive = true
|
|
|
}
|
... | ... | @@ -404,7 +407,6 @@ context.modules = [ |
|
|
node.name = "playback.CM106_stereo_pair_2"
|
|
|
audio.position = [ RL RR ]
|
|
|
target.object = "alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-71"
|
|
|
node.dont-reconnect = true
|
|
|
stream.dont-remix = true
|
|
|
node.passive = true
|
|
|
}
|
... | ... | @@ -431,7 +433,6 @@ context.modules = [ |
|
|
node.name = "playback.UMC_Speakers"
|
|
|
audio.position = [ AUX0 AUX1 ]
|
|
|
target.object = "alsa_output.usb-BEHRINGER_UMC404HD_192k-00.pro-output-0"
|
|
|
node.dont-reconnect = true
|
|
|
stream.dont-remix = true
|
|
|
node.passive = true
|
|
|
}
|
... | ... | @@ -449,7 +450,6 @@ context.modules = [ |
|
|
node.name = "playback.UMC_Headphones"
|
|
|
audio.position = [ AUX2 AUX3 ]
|
|
|
target.object = "alsa_output.usb-BEHRINGER_UMC404HD_192k-00.pro-output-0"
|
|
|
node.dont-reconnect = true
|
|
|
stream.dont-remix = true
|
|
|
node.passive = true
|
|
|
}
|
... | ... | @@ -474,7 +474,6 @@ context.modules = [ |
|
|
audio.position = [ AUX0 ]
|
|
|
stream.dont-remix = true
|
|
|
target.object = "alsa_input.usb-BEHRINGER_UMC404HD_192k-00.pro-input-0"
|
|
|
node.dont-reconnect = true
|
|
|
node.passive = true
|
|
|
}
|
|
|
playback.props = {
|
... | ... | @@ -492,7 +491,6 @@ context.modules = [ |
|
|
audio.position = [ AUX1 ]
|
|
|
stream.dont-remix = true
|
|
|
target.object = "alsa_input.usb-BEHRINGER_UMC404HD_192k-00.pro-input-0"
|
|
|
node.dont-reconnect = true
|
|
|
node.passive = true
|
|
|
}
|
|
|
playback.props = {
|
... | ... | |