Regex with Combine Stream module not working in version 0.3.80 (possible regression)
I am using the backport version of pipewire on Debian stable (12/Bookworm) and the regex for combining sources using the Combine Stream Module do not work any more.
This configuration
context.modules = [
{ name = libpipewire-module-combine-stream
args = {
combine.mode = sink
node.name = "test_combine"
node.description = "Test Combine"
combine.latency-compensate = false
combine.props = {
audio.position = [ FL FR ]
}
stream.props = { }
stream.rules = [
{
matches = [
{
node.name = "~alsa_output.*"
media.class = "Audio/Sink"
}
]
actions = { create-stream = { } }
}
]
}
}
]
yields in a test_combine
sink without any thing connected to it output (maybe I am not having the good vocabulary here).
While specifying the full node name, without using a regex still works. For example:
context.modules = [
{ name = libpipewire-module-combine-stream
args = {
combine.mode = sink
node.name = "test_combine"
node.description = "Test Combine"
combine.latency-compensate = false
combine.props = {
audio.position = [ FL FR ]
}
stream.props = { }
stream.rules = [
{
matches = [
{
node.name = "alsa_output.usb-Microsoft_Microsoft_LifeChat_LX-6000-00.analog-stereo"
media.class = "Audio/Sink"
}
]
actions = { create-stream = { } }
}
]
}
}
]
This used to work with version 0.3.77 (I did not tested the versions in between).