Commit Graph
4089 Commits
Author SHA1 Message Date
Mike Brady 98005fd18f quieten some debug messages 2020-06-21 13:50:21 +01:00
Mike BradyandGitHub 5fac4bec0b Change blame address! 2020-06-21 13:37:33 +01:00
Mike BradyandGitHub 8d3e894172 Bug fixes.
Fix bugs preventing clean termination on MPRIS Quit().
2020-06-21 13:36:49 +01:00
Mike BradyandGitHub 0782aae77d Update RELEASENOTES-DEVELOPMENT.md 2020-06-21 13:35:22 +01:00
Mike Brady 827504a3ff Reinstated the main thread cancellation cleanup and hooked it up the the exit function. Made the exit function work properly if libdaemon was included and either used or not used. CLeaned up some debug messages and warnings. 2020-06-21 13:20:08 +01:00
Mike Brady dd0d24b255 The metadata threads were not terminating properly due to multiple errors. Quietened a few debug messages too. 2020-06-21 13:17:57 +01:00
Mike Brady 4e1f74db87 Quieten some debug messages. 2020-06-21 13:16:08 +01:00
Mike Brady f266e4c08b Allow Shairport Sync native D-Bus and MPRIS services to be owned by root as well as user "shairport-sync" 2020-06-21 09:57:05 +01:00
Mike Brady 4f0794d6cf stop an uninitialised variable warning 2020-06-19 16:53:15 +01:00
Mike Brady 320baa4db9 quieten some debug messages 2020-06-15 12:16:59 +01:00
Mike Brady 526a86b732 remove an insignificant FreeBSD compiler warning. 2020-06-14 15:58:06 +01:00
Mike Brady 9d6adc6f1f one less debug message. 2020-06-14 14:29:55 +01:00
Mike Brady f89830eb2c Send more timing sync requests at the start. The debug messages are a bit noisy. 2020-06-14 14:26:22 +01:00
Mike Brady ead6cfc4ad Emphasise one debug message 2020-06-14 09:49:10 +01:00
Mike Brady 31486a36f3 don't suppress the sending of a pfls token until some frames have been seen. 2020-06-13 14:38:27 +01:00
Mike Brady 4f9f3331e3 Remove the flsr flush request token -- sometimes it's bogus -- add the frame number to the pfls token. Add a little documentation. 2020-06-13 10:41:48 +01:00
Mike BradyandGitHub f85c853c14 Fix metadata abeg and aend generation bug. 2020-06-13 09:38:12 +01:00
Mike BradyandGitHub 493260b04a Update RELEASENOTES-DEVELOPMENT.md 2020-06-13 09:37:03 +01:00
Mike BradyandGitHub f326fa9f42 Merge pull request #1023 from minix1234/development
Updated activity_monitor.c - metadata publishing wrong codes
2020-06-13 09:23:42 +01:00
Mike Brady 8dfaaf8d8d Add some detail to a debug message. 2020-06-12 19:20:58 +01:00
Mike Brady 34d0a4df8b Fix a debug message 2020-06-12 18:17:44 +01:00
Mike Brady e39f86dc10 remove some unnecessary code for deleting flushed frames 2020-06-12 17:54:02 +01:00
Mike Brady f8c24c5f2b clean up flush detection code 2020-06-12 17:12:50 +01:00
minix1234andGitHub 70f60fcd8a Updated activity_monitor.c - metadata publishing wrong codes
Found that MQTT activity_start: abeg and activity_end: aend topics where never being published. instead immediately after a play session started a play_end: pend topic was sent.  Also after the activity_timout a duplicate play_end was received.

This commit fixes those bugs.
2020-06-12 09:03:30 -04:00
Mike Brady 19a7bd4969 quieten some debug messages 2020-06-12 10:10:26 +01:00
Mike BradyandGitHub 54b82884ab Update RELEASENOTES-DEVELOPMENT.md 2020-06-11 14:48:42 +01:00
Mike BradyandGitHub 23f07f6257 Update RELEASENOTES-DEVELOPMENT.md 2020-06-11 14:31:52 +01:00
Mike Brady f5eceff6f7 Store clock drift information for each client based on its IP. This is stored in RAM, not on disk. Used at the start of a new session until new clock drift data is ready. 2020-06-11 12:09:55 +01:00
Mike Brady 92074c2b96 add code to calculate the diffusion multiplier based on the ending diffusion multiplier and the number of entries. 2020-06-10 20:04:03 +01:00
Mike Brady 0517a233c1 Fix the recording of the sample count if it's less than the threshold. Use the last gradient / drift if the number of samples is less than the threshold. 2020-06-10 14:21:29 +01:00
Mike BradyandGitHub fcaf25f9ca Update RELEASENOTES-DEVELOPMENT.md 2020-06-09 12:24:09 +01:00
Mike Brady f63abd2f09 Start using timing based on a linear least squares error-based estimate of remote to local time difference and drift. 2020-06-09 11:40:50 +01:00
Mike Brady e62559980c Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot some documentation changes made online.
2020-06-09 11:37:41 +01:00
Mike Brady 9f9b36c01f Clean up and bug-fix the code for estimating remote-to-local clock drift using least squares linear regression. Use the estimated remote-to-local difference and the calculated drift instead of just using the difference estimated from the last-exchanged timing message. 2020-06-09 11:37:24 +01:00
Mike Brady 1312772bc8 Remove a redundant field from a time ping record 2020-06-09 11:33:32 +01:00
Mike Brady efec3cc7e5 Make the list of remote to local timing values a power of 2 -- necessary later for allowing headroom for calculations. 2020-06-09 09:36:12 +01:00
Mike Brady 74894261f5 quieten some debug messages 2020-06-09 09:33:10 +01:00
Mike Brady 346595386b Small mod to creating the audio pipe 2020-06-06 10:53:08 +01:00
Mike BradyandGitHub 002d5451bc Update RELEASENOTES-DEVELOPMENT.md 2020-06-05 17:38:31 +01:00
Mike BradyandGitHub c0abd35ce9 Update RELEASENOTES-DEVELOPMENT.md 2020-06-05 17:32:23 +01:00
Mike BradyandGitHub 426b4e6c4c Update RELEASENOTES-DEVELOPMENT.md 2020-06-05 17:32:13 +01:00
Mike Brady 2d7d8e161e BB 3.3.7d8 2020-06-05 17:25:12 +01:00
Mike Brady 98f526063f Clean up code for the silent lead-in on a non-syncing back end e.g. a pipe. Clean up pipe creation and initial opening and associated error messages. Fix error with warning/die messages. Tidy up some debug messages. 2020-06-05 17:23:10 +01:00
Mike Brady dfd90bac6b Clean up code for the silent lead-in on a non-syncing back end e.g. a pipe. Clean up pipe creation and initial opening and associated error messages. Fix error with warning/die messages. Tidy up some debug messages. 2020-06-05 17:22:53 +01:00
Mike BradyandGitHub a4d5927527 Update RELEASENOTES-DEVELOPMENT.md 2020-06-02 19:45:57 +01:00
Mike BradyandGitHub fb60c8fbf5 Update RELEASENOTES-DEVELOPMENT.md 2020-06-02 19:45:11 +01:00
Mike BradyandGitHub 36eba7079a Update RELEASENOTES-DEVELOPMENT.md 2020-06-02 19:43:37 +01:00
Mike BradyandGitHub 72e5274fca Update RELEASENOTES-DEVELOPMENT.md 2020-06-02 19:43:01 +01:00
Mike BradyandGitHub dfe48c28fe Update RELEASENOTES-DEVELOPMENT.md 2020-06-02 19:41:53 +01:00
Mike BradyandGitHub 89ed826514 Update RELEASENOTES-DEVELOPMENT.md 2020-06-02 19:38:55 +01:00