mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-22 13:00:39 +02:00
config: improve {audio,video}testsrc.node config files
* add library.name to not require adding `add-spa-lib` in pipewire.conf or wireplumber.conf for this to work * add a commented local=true; it can be useful to run those nodes locally for testing, sometimes
This commit is contained in:
parent
996699762c
commit
280c0edfa6
2 changed files with 14 additions and 4 deletions
|
|
@ -1,11 +1,13 @@
|
|||
# Creates a static audio test source node & endpoint for testing
|
||||
# Rename this file to remove the .disabled extension in order to enable it
|
||||
# Note that you also need to add this line in pipewire.conf:
|
||||
# add-spa-lib audiotestsrc audiotestsrc/libspa-audiotestsrc
|
||||
|
||||
[node]
|
||||
factory = "adapter"
|
||||
properties = [
|
||||
{ name = "factory.name", value = "audiotestsrc" },
|
||||
{ name = "library.name", value = "audiotestsrc/libspa-audiotestsrc" },
|
||||
{ name = "node.name", value = "Audio Test Source" },
|
||||
]
|
||||
|
||||
# Uncomment to run the node in WirePlumber instead of PipeWire
|
||||
#local = true
|
||||
|
|
|
|||
|
|
@ -1,14 +1,22 @@
|
|||
# Creates a static video test source node & endpoint for testing
|
||||
# Rename this file to remove the .disabled extension in order to enable it
|
||||
# Note that you also need to add this line in pipewire.conf:
|
||||
# add-spa-lib videotestsrc videotestsrc/libspa-videotestsrc
|
||||
|
||||
[node]
|
||||
factory = "spa-node-factory"
|
||||
properties = [
|
||||
{ name = "factory.name", value = "videotestsrc" },
|
||||
{ name = "library.name", value = "videotestsrc/libspa-videotestsrc" },
|
||||
{ name = "node.name", value = "Video Test Source" },
|
||||
# pattern 0 -> SMPTE + snow
|
||||
# pattern 1 -> snow
|
||||
{ name = "Spa:Pod:Object:Param:Props:patternType", value = "1" },
|
||||
]
|
||||
|
||||
# Uncomment to run the node in WirePlumber instead of PipeWire
|
||||
# Note: you will also need to add
|
||||
#
|
||||
# load-pipewire-module libpipewire-module-spa-node-factory
|
||||
#
|
||||
# in wireplumber.conf if you uncomment this
|
||||
#
|
||||
#local = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue