mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
aes67: add clock.interface example and update the documentation comment
This commit is contained in:
parent
be69f029ac
commit
75fcbf1e6c
1 changed files with 7 additions and 4 deletions
|
|
@ -23,9 +23,11 @@ context.spa-libs = {
|
||||||
}
|
}
|
||||||
|
|
||||||
context.objects = [
|
context.objects = [
|
||||||
# An example clock reading from /dev/ptp0. Another option is to sync the
|
# An example clock reading from /dev/ptp0. You can also specify the network interface name,
|
||||||
# ptp clock to CLOCK_TAI and then set clock.id = tai.
|
# pipewire will query the interface for the current active PHC index. Another option is to
|
||||||
# If both device and ID are given and available, device takes precedence
|
# sync the ptp clock to CLOCK_TAI and then set clock.id = tai, keep in mind that tai may
|
||||||
|
# also be synced by a NTP client.
|
||||||
|
# The precedence is: device, interface, id
|
||||||
{ factory = spa-node-factory
|
{ factory = spa-node-factory
|
||||||
args = {
|
args = {
|
||||||
factory.name = support.node.driver
|
factory.name = support.node.driver
|
||||||
|
|
@ -34,8 +36,9 @@ context.objects = [
|
||||||
# This driver should only be used for network nodes marked with group
|
# This driver should only be used for network nodes marked with group
|
||||||
priority.driver = 0
|
priority.driver = 0
|
||||||
clock.name = "clock.system.ptp0"
|
clock.name = "clock.system.ptp0"
|
||||||
|
#clock.id = tai
|
||||||
clock.device = "/dev/ptp0"
|
clock.device = "/dev/ptp0"
|
||||||
clock.id = tai
|
#clock.interface = "eth0"
|
||||||
object.export = true
|
object.export = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue