Mike Brady
|
008e038805
|
Shorten the timeout on the SMI to 10 ms.
|
2022-05-18 22:32:52 +01:00 |
|
Mike Brady
|
903ba42ec5
|
Remove a slightly alarming and incorrect warning. Old information is dealt with elsewhere.
|
2022-05-14 18:59:06 +10:00 |
|
Mike Brady
|
ace5537ad3
|
Quieten a few debug messages.
|
2022-03-16 12:51:00 +11:00 |
|
Mike Brady
|
a382ac6672
|
Clang Format
|
2022-03-14 11:56:43 +11:00 |
|
Mike Brady
|
0f5d1ec929
|
Remove redundant ptp_access_mutex mutex -- don't need it anymore.
|
2022-02-28 18:09:19 +11:00 |
|
Mike Brady
|
73766b0705
|
Clean up ptp_shm_interface_open and add code to warn if the timing sample shared in the shm is too old -- may indicate NQPTP is gone.
|
2022-02-28 17:59:43 +11:00 |
|
Mike Brady
|
18ed1bda87
|
Add the opening of the shm interface to the startup process and die if it can't be done. Quieten some debug messages.
|
2022-02-27 21:23:14 +11:00 |
|
Mike Brady
|
322f07720a
|
Require NQPTP to be running and create the SHM interface at startup.
|
2022-02-27 13:00:03 +11:00 |
|
Mike Brady
|
341f67acd2
|
Redesign the ptp shm utilities to cater for opening once and closing once but potentially called for opening many times.
|
2022-02-26 08:32:15 +00:00 |
|
Mike Brady
|
04aba03b4f
|
Stop storing the timing peer list. Clean up generation of device's timing addresses (and fix a bug). Use unique SMI interface for access to NQPTP.
|
2021-12-30 11:03:34 +00:00 |
|
Mike Brady
|
35317687f9
|
access the SMI named in the nqptp_shared_memory_interface_name
|
2021-12-29 10:22:44 +00:00 |
|
Mike Brady
|
966d68bdec
|
Begin to get SPS to give a unique shm interface name to nqptp. Also clang format
|
2021-12-27 12:19:01 +00:00 |
|
Mike Brady
|
30b9d15e36
|
Quieten a few debug mssages, slightly shorten the minimum lead time needed for good initial sync.
|
2021-12-22 13:47:49 +00:00 |
|
Mike Brady
|
6f7e894777
|
Set the minimum bus mastership time to two seconds. Turn on a debug message.
|
2021-12-20 12:15:59 +00:00 |
|
Mike Brady
|
be4807fff2
|
Wait for that mutex for longer. (Don't know why yet...)
|
2021-12-06 18:09:29 +00:00 |
|
Mike Brady
|
c0a3dacf30
|
Working to check for divide / mod by 0's
|
2021-11-17 10:35:21 +00:00 |
|
Mike Brady
|
c4b5e0928f
|
Use a local copy of the nqptp shared memory interface description file.
|
2021-07-22 11:01:53 +01:00 |
|
Mike Brady
|
861455f703
|
Add some information about the length of time a new clock master has been monitored for ("history") and warn if the PTP information hasn't been updated for more than a second (not extensively tested).
|
2021-06-23 12:18:04 +01:00 |
|
Mike Brady
|
e925e196c8
|
Changes to allow it to compile in FreeBSD and fix a few issues that were picked up by clang 10.
|
2021-06-22 13:49:11 +01:00 |
|
Mike Brady
|
6edaa58595
|
increase the wait time for the shm access mutex.
|
2021-06-06 15:49:03 +01:00 |
|
Mike Brady
|
a109b587ec
|
Flush seems to be working properly and reliably. Some audio glitches removed too by dropping the first two AAC blocks of any passage. Crude. Flush diagnostic linked list stuff left in place.
|
2021-05-30 11:17:06 +01:00 |
|
Mike Brady
|
637c8132e9
|
Move initial delay when using a new bus master to rtp.c and wait, if possible, whenever a new master comes along, to allow it to settle before using it.
|
2021-05-26 18:12:45 +01:00 |
|
Mike Brady
|
26ce13d511
|
a slightly more rational clock handling regime, I hope. Wait for 400 ms when a clock becomes master. Wait five seconds when you get a new master clock.
|
2021-05-26 16:48:25 +01:00 |
|
Mike Brady
|
3f77994948
|
more closely check for time information being available.
|
2021-05-11 18:52:02 +01:00 |
|
Mike Brady
|
a563d5e847
|
Quieten some more debug messages. Fix a misleading clock status return.
|
2021-05-10 16:03:02 +01:00 |
|
Mike Brady
|
04c7f84564
|
Improve NQPTP clock diagnostics, tidy up some messages.
|
2021-05-10 14:16:57 +01:00 |
|
Mike Brady
|
a68f28ac2b
|
clang format
|
2021-05-01 14:09:38 +01:00 |
|
Mike Brady
|
61b6b5934d
|
check that the clock is valid and reduce the Buffered Audio lead time to 0.25 seconds
|
2021-05-01 11:03:45 +01:00 |
|
Mike Brady
|
0af7f4fbde
|
Bring in files and settings from sps2-ex1
|
2021-04-27 20:07:50 +01:00 |
|