node-driver: allow specifying both PHC and ID

This commit is contained in:
Dmitry Sharshakov 2023-06-17 10:23:24 +03:00 committed by Wim Taymans
parent 0fc1112c6d
commit f257c3407d
2 changed files with 16 additions and 14 deletions

View file

@ -223,17 +223,19 @@ context.objects = [
}
# An example clock reading from /dev/ptp0. Another option is to sync the
# ptp clock to CLOCK_TAI and then set clock.id = tai.
#{ factory = spa-node-factory
# args = {
# factory.name = support.node.driver
# node.name = PTP0-Driver
# node.group = pipewire.ptp0
# priority.driver = 30000
# clock.name = "clock.system.ptp0"
# clock.id = tai
# #clock.device = "/dev/ptp0"
# }
#}
# If both device and ID are given and available, device takes precedence
{ factory = spa-node-factory
args = {
factory.name = support.node.driver
node.name = PTP0-Driver
node.group = pipewire.ptp0
# This driver should only be used for network nodes marked with group
priority.driver = 0
clock.name = "clock.system.ptp0"
clock.device = "/dev/ptp0"
clock.id = tai
}
}
# This creates a new Source node. It will have input ports
# that you can link, to provide audio for this source.