2023-06-15 21:27:13 +03:00
|
|
|
context.modules = [
|
|
|
|
|
{ name = libpipewire-module-protocol-native }
|
|
|
|
|
]
|
|
|
|
|
|
2023-06-23 20:15:26 +03:00
|
|
|
wireplumber.profiles = {
|
|
|
|
|
test = {
|
|
|
|
|
virtual.four = required
|
|
|
|
|
}
|
2023-06-15 21:27:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
wireplumber.components = [
|
|
|
|
|
# expected load order:
|
|
|
|
|
# five, one, six, two, three, four, seven
|
|
|
|
|
# eight is not loaded - optional feature
|
|
|
|
|
{
|
|
|
|
|
name = one
|
|
|
|
|
type = test
|
|
|
|
|
provides = support.one
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = two
|
|
|
|
|
type = test
|
|
|
|
|
provides = support.two
|
2023-11-14 12:42:32 +02:00
|
|
|
requires = [ support.one ]
|
2023-06-15 21:27:13 +03:00
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = virtual
|
|
|
|
|
provides = virtual.four
|
2023-11-14 12:42:32 +02:00
|
|
|
requires = [ INVALID ]
|
2023-06-15 21:27:13 +03:00
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = three
|
|
|
|
|
type = test
|
2023-11-14 12:42:32 +02:00
|
|
|
provides = INVALID
|
2023-06-15 21:27:13 +03:00
|
|
|
wants = [ support.two ]
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = four
|
|
|
|
|
type = test
|
|
|
|
|
provides = support.four
|
|
|
|
|
requires = [ support.five ]
|
|
|
|
|
wants = [ support.three ]
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = five
|
|
|
|
|
type = test
|
|
|
|
|
provides = support.five
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = six
|
|
|
|
|
type = test
|
|
|
|
|
provides = support.six
|
|
|
|
|
requires = [ support.one ]
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = seven
|
|
|
|
|
type = test
|
|
|
|
|
requires = [ support.five ]
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name = eight
|
|
|
|
|
type = test
|
|
|
|
|
provides = support.eight
|
|
|
|
|
requires = [ support.four ]
|
|
|
|
|
}
|
|
|
|
|
]
|
2023-11-14 12:42:32 +02:00
|
|
|
|
|
|
|
|
wireplumber.components.rules = [
|
|
|
|
|
{
|
|
|
|
|
matches = [
|
|
|
|
|
{
|
|
|
|
|
name = two
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
|
|
|
|
merge = {
|
|
|
|
|
# final array should be [ support.one, support.six ]
|
|
|
|
|
# if this fails, support.six will not be loaded
|
|
|
|
|
requires = [ support.six ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
matches = [
|
|
|
|
|
{
|
|
|
|
|
name = three
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
|
|
|
|
merge = {
|
|
|
|
|
provides = support.three
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
matches = [
|
|
|
|
|
{
|
|
|
|
|
provides = virtual.four
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
|
|
|
|
override = {
|
|
|
|
|
requires = [ support.four ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|