Commit Graph
3007 Commits
Author SHA1 Message Date
Mike Brady c6e7a93a2f Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot!
2018-08-22 15:12:06 +01:00
Mike Brady de972c1d66 Include a few fixes for FreeBSD warnings and quieten some debug messages 2018-08-22 15:10:53 +01:00
Mike Brady 44c61835b8 Include a few fixes for FreeBSD warnings and quieten some debug messages 2018-08-22 15:10:38 +01:00
Mike BradyandGitHub 13510625ba Update RELEASENOTES.md 2018-08-22 14:47:57 +01:00
Mike Brady d2f6a446e1 Bring up to date with 3.3d2 from the raspberry pi 2018-08-22 14:41:03 +01:00
Mike BradyandGitHub 347e63ba90 Update RELEASENOTES.md 2018-08-22 14:32:54 +01:00
Mike Brady 754155ce0f clang format 2018-08-22 13:07:04 +01:00
Mike Brady 1ee806a53a Fix display of drift -- the sign is correct now. All timing is relative to the local clock. Add a rough estimate of the correction necessary. Use the most recent 128 timing samples. 2018-08-22 13:02:42 +01:00
Mike Brady 92bd0254e3 Tidy the init.d script up a little more to reflect the true situation upon (attempted) startup 2018-08-20 22:44:27 +01:00
Mike Brady d613d719ba Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot some of the changes
2018-08-20 22:29:14 +01:00
Mike Brady 711b6e6413 Move creation of the /var/run/shairport-sync directory from install time to just before launch -- it may be deleted when the machine is powered down. 2018-08-20 22:28:36 +01:00
Mike BradyandGitHub ae73f37b24 Update shairport-sync.freebsd 2018-08-20 21:57:46 +01:00
Mike Brady 29e3890280 Put inclusion of sys/socket.h before net/if.h to prevent errors in OpenBSD compilation 2018-08-20 20:14:28 +01:00
Mike Brady d5197081ef Fix a stupid divide-by-zero error and remove unrecognised warning options for FreeBSD 2018-08-20 19:53:16 +01:00
Mike Brady fe8480b74b Fix up System V initialisation file to start with user and group "shairport-sync" and to be able to locate the PID file correcly so as to kill it later. 2018-08-20 18:50:58 +01:00
Mike Brady c99591253a Add an example of getting and setting the drift tolerance. 2018-08-19 11:54:03 +01:00
Mike Brady c101d5adf6 Quieten some error messages 2018-08-15 15:58:13 +01:00
Mike Brady 0cda8f963c Simplify some calculations and a bug so that the output calculation is correclty reset if there is a problem with output, e.g. an underflow. 2018-08-15 15:57:41 +01:00
Mike Brady ac336974b6 Quieten a debug message 2018-08-15 15:56:14 +01:00
Mike Brady ab1f55fe20 Log an entry if a different period or buffer size was requested and not obtained. 2018-08-15 12:42:02 +01:00
Mike Brady 3adcf000a0 Quieten a debug message 2018-08-15 12:41:19 +01:00
Mike Brady 9a005c8ec4 Quieten a debug message 2018-08-15 10:36:29 +01:00
Mike Brady 2a4abea6e5 Modify the timing to be (hopefully) a bit more gentle in its corrections 2018-08-15 10:28:51 +01:00
Mike Brady 5141e2f5dc Format tidy-up 2018-08-14 12:14:49 +01:00
Mike Brady 519135734f Calculate actual and nominal input frame rates more accurately, allowing for flush and resume events. 2018-08-14 12:13:02 +01:00
Mike Brady 2f58856268 Add source rate calculation based on source frame and timing information, calculated from start of play session. 2018-08-13 14:44:22 +01:00
Mike Brady a8cfc9915f display the number of samples used to calculcate drift, clean up the settings for the number of samples to skip at the start and for the minimum number of samples to use. Store 64 samples. 2018-08-13 14:06:40 +01:00
Mike Brady df18e3a017 Add the ability to read and change the stuffing threshold 2018-08-13 14:05:14 +01:00
Mike Brady 25d02d183e Use CXXFLAGS etc. to ensure they can be overridden properly. Turn off ABI-changed warnings. 2018-08-13 14:04:22 +01:00
Mike BradyandGitHub b0445b143b Update RELEASENOTES.md 2018-08-08 09:36:17 +01:00
Mike Brady f2ab25d01a Fix a read-write mutex locking issue in the metadata hub, fix a libsoxr related dbus bug, switch over to better (we hope) timing measurement, giving smoother usage of interpolation. 2018-08-08 09:30:38 +01:00
Mike Brady 63c447582f Fix a read-write mutex locking issue in the metadata hub. 2018-08-08 09:28:34 +01:00
Mike Brady 4590b08e62 Fix a bug whereby libsoxr-required code wasn't included, causing soxr interpolation to be disabled. 2018-08-08 09:04:58 +01:00
Mike Brady 95bb10a6c3 Remove or comment out some extraneous code, quieten some debug messages. 2018-08-08 09:03:53 +01:00
Mike Brady 48d001591a Turn off "clobbering" warning, as it generates too many false positives at present. 2018-08-08 09:00:41 +01:00
Mike Brady 8b0889ea5d Remove bogus possibly uninitialised variable warning. 2018-08-06 17:57:42 +01:00
Mike Brady 3dbea79962 Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot the documentation update.
2018-08-06 12:34:27 +01:00
Mike Brady 51283d2e07 Update some debug messages 2018-08-06 12:33:45 +01:00
Mike Brady 78f1cd614c Allow for different output rates in the new calculations 2018-08-06 09:48:36 +01:00
Mike Brady 3870195cf9 Begin to use a unified and more accurate scheme for translating between local time and rtp timestamp, taking clock drift and actualt source rate into account if available. Not dealing with highes output rates yet. 2018-08-05 17:23:07 +01:00
Mike BradyandGitHub e8de38546a Update RELEASENOTES.md 2018-08-01 09:49:34 +01:00
Mike Brady e90f172254 Forgot documentation updates.
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
2018-08-01 09:37:06 +01:00
Mike Brady 3a0fb4c919 Change calculation order to prevent overflow after about 26 hours at 44,100 fps in the frame rate calculations. Calculate frame rates whether statistcs are requested or not. Clean up some fps rate availability flags. 2018-08-01 09:36:28 +01:00
Mike Brady 3888125a24 Change calculation order to prevent overflow after about 26 hours at 44,100 fps in the frame rate calculations. Calculate frame rates whether statistcs are requested or not. Clean up some fps rate availability flags. 2018-08-01 09:35:28 +01:00
Mike BradyandGitHub db5a38b31e Update RELEASENOTES.md 2018-07-30 22:13:56 +01:00
Mike BradyandGitHub acc1c5d6df Update RELEASENOTES.md 2018-07-30 14:23:41 +01:00
Mike BradyandGitHub 7c182afcd7 Update RELEASENOTES.md 2018-07-30 14:20:28 +01:00
Mike Brady f6b3c420c7 Enable input frame rate calculation to handle a pause/resume correctly. 2018-07-30 14:07:39 +01:00
Mike Brady 1b1bf44cc2 Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot changes.
2018-07-30 13:40:14 +01:00
Mike Brady b75c82d14a Add input frame rate calculation. 2018-07-30 13:39:38 +01:00