mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
node-driver: allow specifying both PHC and ID
This commit is contained in:
parent
0fc1112c6d
commit
f257c3407d
2 changed files with 16 additions and 14 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue