Commit Graph
4373 Commits
Author SHA1 Message Date
Charles fb3fb4e7d3 Test. 2021-06-29 11:10:40 +01:00
Charles 588088933d Merge branch 'development' of github.com:aillwee/shairport-sync into charles-dev 2021-06-29 11:03:43 +01:00
Mike Brady 5850696ac0 Switch over to AC_CHECK_LIB from PKG_CHECK_MODULES for checking for libgcrypt. 2021-06-29 10:55:21 +01:00
Charles a86955c0ce Added libgcrypt 2021-06-29 10:41:59 +01:00
Mike Brady 1a21a1aaae Switch to libgcrypt for the pairing library for compatibility with Ubuntu on an M1. 2021-06-29 10:23:56 +01:00
Charles 530e078a5f Documentation updates (WIP). 2021-06-27 22:13:14 +01:00
CharlesandGitHub 7258944be8 Update README.md 2021-06-26 15:46:48 +01:00
CharlesandGitHub f9eef5bd7c Update README.md 2021-06-26 15:46:02 +01:00
Mike Brady 14487f6872 Online documentation update.
Merge branch 'development' of github.com:aillwee/shairport-sync into development
2021-06-24 10:45:42 +01:00
Mike Brady 33dd3037da Wait a little longer to allow the master clock to stabilise. 2021-06-24 10:45:32 +01:00
Mike BradyandGitHub 6a40c73fc8 Merge pull request #19 from aillwee/charles-dev
README updates.
2021-06-24 09:43:43 +01:00
Charles a565f9f0ca README update to include HomePod issues. 2021-06-24 01:31:27 +01:00
Charles 8a72c11835 Docker README fix. 2021-06-24 01:09:46 +01:00
Mike BradyandGitHub c3faddde47 Update README.md 2021-06-23 20:09:39 +01:00
Mike BradyandGitHub a6ac3f63e9 Update BUILDFORAP2.md 2021-06-23 20:06:58 +01:00
Mike BradyandGitHub 136bf13a36 Update README.md 2021-06-23 20:01:03 +01:00
Mike Brady ce49f3a9fd Quieten the PTP informatin age checking code. 2021-06-23 17:54:51 +01:00
Mike Brady 7b8e68650f Fix the rtptime modulo calculations -- the SIGNEX idea doesn't seem to be portable, so it has to be done the hard way. 2021-06-23 14:40:38 +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 767bed6b9f Sometimes the output_rtptime_mask seems to be calculated in 32-bit arithmetic (?), so do it all explicitly in 64-bit signed int as soon as the output_rtptime_sign_bit is calculated. 2021-06-23 11:21:32 +01:00
Mike BradyandGitHub 861ef69302 Update README.md 2021-06-22 20:28:21 +01:00
Mike BradyandGitHub e4d0c2181d Update README.md 2021-06-22 20:21:04 +01:00
Mike BradyandGitHub 7c2b46f31e Update README.md 2021-06-22 20:20:31 +01:00
Mike BradyandGitHub 6761a4e382 Update README.md 2021-06-22 20:06:42 +01:00
Mike Brady 0c7d385f35 Keep an eye on DAC underrun recoveries 2021-06-22 14:09:09 +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 BradyandGitHub 6295b35338 Merge pull request #18 from aillwee/charles-dev
Attempted fix for docker git describe & docker README changes.
Thanks Charles. Apologies for the delay!
2021-06-19 17:38:31 +01:00
Mike Brady ad3412f5c2 Ensure a new master clock is at least 1.1 seconds in mastership before using it. Remember that the mastership can be backdated. 2021-06-17 18:17:24 +01:00
Mike Brady 0ac00359f7 remove those warnings 2021-06-17 18:16:15 +01:00
Mike Brady c37ee4542d Add code to skip packets of buffered audio that are late or too early. 2021-06-09 19:35:08 +01:00
Mike Brady aa8d251aef Check for a version of libplist that is recent enough. 2021-06-08 14:14:23 +01:00
Mike Brady f6a9f634c7 Accept a new master clock immediately. Don't truncate the first three blocks if it's a normal start. Hacky. 2021-06-06 15:53:55 +01:00
Mike Brady 5c48580db9 Get it working for multiples of 44100 again. It's stuck accepting only 44,100 fps input for the moment. 2021-06-06 15:51:39 +01:00
Mike Brady 93aefbd8ea get the activity monitor working for the different types of stream 2021-06-06 15:50:05 +01:00
Mike Brady 6edaa58595 increase the wait time for the shm access mutex. 2021-06-06 15:49:03 +01:00
Mike Brady 0f1118c142 Exit immediately if the speed or format cannot be set. 2021-06-06 15:48:09 +01:00
Mike Brady 142478933f Move the activity monitor calls to enable active mode correctly for buffered audio. 2021-06-04 09:42:31 +01:00
Mike Brady e4c82b7700 Add some comments and a new debug message about underrun 2021-06-04 09:41:15 +01:00
Mike Brady d33de05ae9 change some debug messages 2021-06-04 09:40:24 +01:00
Charles b67e437fcc Updated docker build action. 2021-06-04 00:50:52 +01:00
Charles 65e66c4845 Updates to docker build process. 2021-06-03 17:38:33 +01:00
Charles 2c930c959c Updated readme. 2021-06-03 16:46:31 +01:00
Mike Brady 516a6b2105 Align some of the statistics better. 2021-06-03 09:52:38 +01:00
Mike Brady 13eccc3039 Quieten a debug message. 2021-06-03 09:52:05 +01:00
Mike Brady 7a26139c44 Shorten some arbitrary delays, quieten some debug messages, add (and comment out) disgnostic code to introduce a timing error. Make the buffer size 0.4 sec -- so that if a timing error of 150 ms is detected, enough frames are immediately available to be used. 2021-06-03 09:24:26 +01:00
Mike Brady bcad9d5998 Add 100 ms to the amount to flush after a large positive sync error to give the system a better chance to recover in one attempt. 2021-06-03 09:21:14 +01:00
Mike Brady 8bee92a4e6 Clean up the statistics output to make it provide information for the stream type. Parameterise it so that it's a bit easier to manage. 2021-06-02 17:17:54 +01:00
Mike Brady 5b8d76cfbe When the master clock returns to what the real anchor clock is, the difference between the actual and estimate is calculated and logged. Might have to actually use it... 2021-06-01 22:30:31 +01:00
Mike Brady deeabbfbc5 Quieten a rather chatty message. 2021-06-01 15:24:31 +01:00
Mike Brady c5dafbd28b Remember the original anchor information so that if the master clock become equal to it in the future, it can be restored to those exact numbers and eliminate any intervening approximations. Add some diagnostics. 2021-06-01 14:51:17 +01:00