mirror of https://github.com/cutefishos/settings
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.1 KiB
Plaintext
74 lines
2.1 KiB
Plaintext
context.properties = {
|
|
core.daemon = true
|
|
core.name = cutefish-audio-test
|
|
default.clock.rate = 48000
|
|
default.clock.quantum = 256
|
|
}
|
|
|
|
context.spa-libs = {
|
|
audio.convert.* = audioconvert/libspa-audioconvert
|
|
support.* = support/libspa-support
|
|
audiotestsrc = audiotestsrc/libspa-audiotestsrc
|
|
}
|
|
|
|
context.modules = [
|
|
{ name = libpipewire-module-protocol-native }
|
|
{ name = libpipewire-module-metadata }
|
|
{ name = libpipewire-module-spa-node-factory }
|
|
{ name = libpipewire-module-client-node }
|
|
{ name = libpipewire-module-client-device }
|
|
{ name = libpipewire-module-adapter }
|
|
{ name = libpipewire-module-link-factory }
|
|
{ name = libpipewire-module-access }
|
|
]
|
|
|
|
context.objects = [
|
|
{ factory = spa-node-factory
|
|
args = {
|
|
factory.name = support.node.driver
|
|
node.name = Test-Driver
|
|
node.group = pipewire.dummy
|
|
priority.driver = 20000
|
|
}
|
|
}
|
|
{ factory = adapter
|
|
args = {
|
|
factory.name = support.null-audio-sink
|
|
node.name = test-output-a
|
|
node.virtual = true
|
|
audio.rate = 48000
|
|
audio.channels = 2
|
|
node.description = "Test Output A"
|
|
media.class = Audio/Sink
|
|
audio.position = [ FL FR ]
|
|
object.linger = true
|
|
}
|
|
}
|
|
{ factory = adapter
|
|
args = {
|
|
factory.name = support.null-audio-sink
|
|
node.name = test-output-b
|
|
node.virtual = true
|
|
audio.rate = 48000
|
|
audio.channels = 2
|
|
node.description = "Test Output B"
|
|
media.class = Audio/Sink
|
|
audio.position = [ FL FR ]
|
|
object.linger = true
|
|
}
|
|
}
|
|
{ factory = adapter
|
|
args = {
|
|
factory.name = audiotestsrc
|
|
node.name = test-input
|
|
node.virtual = true
|
|
audio.rate = 48000
|
|
audio.channels = 2
|
|
node.description = "Test Input"
|
|
media.class = Audio/Source
|
|
audio.position = [ FL FR ]
|
|
object.linger = true
|
|
}
|
|
}
|
|
]
|