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 Brady and GitHub
f85c853c14
Fix metadata abeg and aend generation bug.
2020-06-13 09:38:12 +01:00
Mike Brady and GitHub
493260b04a
Update RELEASENOTES-DEVELOPMENT.md
2020-06-13 09:37:03 +01:00
Mike Brady and GitHub
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
minix1234 and GitHub
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 Brady and GitHub
54b82884ab
Update RELEASENOTES-DEVELOPMENT.md
2020-06-11 14:48:42 +01:00
Mike Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
002d5451bc
Update RELEASENOTES-DEVELOPMENT.md
2020-06-05 17:38:31 +01:00
Mike Brady and GitHub
c0abd35ce9
Update RELEASENOTES-DEVELOPMENT.md
2020-06-05 17:32:23 +01:00
Mike Brady and GitHub
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 Brady and GitHub
a4d5927527
Update RELEASENOTES-DEVELOPMENT.md
2020-06-02 19:45:57 +01:00
Mike Brady and GitHub
fb60c8fbf5
Update RELEASENOTES-DEVELOPMENT.md
2020-06-02 19:45:11 +01:00
Mike Brady and GitHub
36eba7079a
Update RELEASENOTES-DEVELOPMENT.md
2020-06-02 19:43:37 +01:00
Mike Brady and GitHub
72e5274fca
Update RELEASENOTES-DEVELOPMENT.md
2020-06-02 19:43:01 +01:00
Mike Brady and GitHub
dfe48c28fe
Update RELEASENOTES-DEVELOPMENT.md
2020-06-02 19:41:53 +01:00
Mike Brady and GitHub
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 Brady and GitHub
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