Commit Graph
100 Commits
Author SHA1 Message Date
Mike Brady 4d179691b2 Move Docker stuff to another repository 2020-06-24 16:36:19 +01:00
Mike BradyandGitHub 12dd4aa4e7 Update BEWARE.md 2020-06-24 16:27:52 +01:00
Mike BradyandGitHub db3cadaf3f Update BEWARE.md 2020-06-24 16:27:32 +01:00
Mike BradyandGitHub 905382d065 Create BEWARE.md 2020-06-24 16:26:23 +01:00
Mike Brady 6b613dfc78 Simple Docker configuration 2020-06-24 16:04:18 +01:00
Mike Brady bcddc6722e Add the string "-alac" to the version string in '-V' if the Apple ALAC decoder is included. 2020-06-24 09:48:46 +01:00
Mike Brady 4fad3d24b1 remove the cause of a FreeBSD warning 2020-06-22 12:01:26 +01:00
Mike BradyandGitHub 8e215cb344 Update RELEASENOTES-DEVELOPMENT.md 2020-06-22 10:41:20 +01:00
Mike Brady 19ec4dfd89 clean up a fatal error message 2020-06-22 10:32:07 +01:00
Mike Brady 05beeaab22 Use exit() instead of abort() when a fatal error occurs, but skip the cleanup before exit, as this can cause trouble. 2020-06-22 10:16:37 +01:00
Mike Brady deee20758a quieten a debug message 2020-06-22 10:15:35 +01:00
Mike Brady 7e01da543c Fix the default audio_backend_buffer_desired_length and move the exit messages to debiug level 1 2020-06-21 15:36:56 +01:00
Mike Brady 9079dea96f slightly change debug message 2020-06-21 15:36:09 +01:00
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
Mike Brady 19a7bd4969 quieten some debug messages 2020-06-12 10:10:26 +01:00
Mike BradyandGitHub a77a6e5aae Update REPORTING ISSUES.md 2020-06-12 09:49:27 +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
Mike Brady 18b9116d97 Separate metadata multicast from metadata pipe. 2020-06-02 19:37:05 +01:00
Mike BradyandGitHub a15fa1b756 Update README.md 2020-06-01 09:51:27 +01:00
Mike BradyandGitHub aa1e632e0d Update INSTALL.md 2020-06-01 09:49:48 +01:00
Mike BradyandGitHub 5304ad2547 Correct a typo.
Thanks to [agneevX](https://github.com/agneevX).
2020-05-30 18:42:36 +01:00
Mike BradyandGitHub 3db2b05654 Update RELEASENOTES-DEVELOPMENT.md 2020-05-30 17:41:16 +01:00
Mike Brady 5decc1bb06 Make the pipe, hub and mqtt separate threads with their own metadata queues. If one blocks, no new metadata is sent to it and the others are unaffected. 2020-05-30 15:49:00 +01:00
Mike Brady b915c2f527 temporarily disable the metadata pipe feed. 2020-05-28 19:50:03 +01:00
Mike Brady 16ecb5f378 debug mods 2020-05-28 17:41:49 +01:00
Mike Brady 79c16c3236 debug mods 2020-05-28 17:14:34 +01:00
Mike Brady f27c5aebff debug mods 2020-05-28 17:01:26 +01:00
Mike Brady 0988ce536c debug mods 2020-05-28 16:38:48 +01:00
Mike Brady c099105a57 Add a really wacky debug message 2020-05-28 16:15:15 +01:00
Mike Brady 9ae649fa9a change some debugging messages 2020-05-28 15:39:10 +01:00
Mike Brady e681f47c8c Add the ability to direct logs etc. to a file or pipe. 2020-05-28 12:20:41 +01:00
Mike Brady c0e5d0473e Add the ability to direct logs etc. to a file or pipe. 2020-05-28 12:19:59 +01:00
Mike Brady 6406c296f5 Add setting to direct logs to syslog, STDERR or STDOUT 2020-05-27 16:21:35 +01:00
Mike Brady 2d7ae4bce9 Add the beggings of a hacky check on the metadata modification lock. 2020-05-27 15:26:08 +01:00
Mike Brady 9e34b1334b Stop using home-brew non-blocking write. Instead, having opened the pipe non-blocking, change to blocking. 2020-05-27 15:02:49 +01:00
Mike Brady e0faaeaefa Edit some of the man page 2020-05-25 15:30:07 +01:00
Mike Brady ba4b6b66c6 Brown bag 2020-05-25 14:56:33 +01:00
Mike Brady 76c4947d64 rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe. 2020-05-25 12:50:48 +01:00
Mike Brady 2474476c9c Forgot online changes to documentation.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
2020-05-25 12:48:51 +01:00
Mike Brady e8ef0e9371 rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe. 2020-05-25 12:48:39 +01:00
Mike Brady 58ae9454c5 Slight edits to the man file. 2020-05-25 08:44:16 +01:00
Mike Brady c1f973dde7 Remove the fsync calls from stdout and pipe backends. Slight edits to man file. 2020-05-24 19:47:04 +01:00
Mike BradyandGitHub b0164820ad Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:18:15 +01:00
Mike BradyandGitHub d8039d1d88 Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:07:04 +01:00
Mike BradyandGitHub 5e65976eed Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:06:06 +01:00
Mike BradyandGitHub 5b8a8c879e Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:05:42 +01:00
Mike Brady 9280e1430b Clean up statistics display for backends with no sync. Flush pipe and stdout backends when play stops. 2020-05-24 09:45:03 +01:00
Mike BradyandGitHub 5b24dddecd Update RELEASENOTES-DEVELOPMENT.md 2020-05-23 20:33:50 +01:00
Mike Brady 759b87f2a2 Move the statistics array from the stack into the heap. 2020-05-23 20:31:54 +01:00
Mike BradyandGitHub 88c4a25a02 Update FEDORA.md 2020-05-23 16:14:13 +01:00
Mike BradyandGitHub 1945cd0b7f Update RELEASENOTES-DEVELOPMENT.md 2020-05-23 14:26:52 +01:00
Mike Brady 4f5ff881a5 Tidy up some of the modulo arithmetic stuff, including tidying up how to deal with out-of-order packet arrival. 2020-05-23 13:54:21 +01:00
Mike Brady 034dd53af5 Calculate the delay and sync error modulo the output frame numbers. Duh! A long-standing bug. 2020-05-23 10:18:23 +01:00
Mike BradyandGitHub 0f16ec4af7 Update README.md 2020-05-21 15:23:46 +01:00