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
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
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 Brady and GitHub
b0164820ad
Update RELEASENOTES-DEVELOPMENT.md
2020-05-24 10:18:15 +01:00
Mike Brady and GitHub
d8039d1d88
Update RELEASENOTES-DEVELOPMENT.md
2020-05-24 10:07:04 +01:00
Mike Brady and GitHub
5e65976eed
Update RELEASENOTES-DEVELOPMENT.md
2020-05-24 10:06:06 +01:00
Mike Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
923a4f0a3c
Update RELEASENOTES-DEVELOPMENT.md
2020-05-18 17:25:09 +01:00
Mike Brady
89e99f28a5
Improve initial sync calculations, even with short (0.3 sec) silent lead-in times.
2020-05-18 17:00:56 +01:00
Mike Brady
54d761ff7d
Clean up some of the wording and layout of the configuration file
...
Clean up and improve the way lead-in sillence is used to give a more accurate sync time to the first packet of audio.
Allow very good sync to occur with 0.3 seconds of lead-in silence.
Improve the use of the buffer offset.
Format some other files.
2020-05-18 16:55:09 +01:00
Mike Brady
012dd26c77
Add the ability to set the silent lead-in parameters initial_period, minimum number of adjustments and adjustment interval, and give them sensible defaults.
2020-05-17 12:48:25 +01:00
Mike Brady
bca704d5b7
Quieten a few debug messages.
2020-05-16 12:54:18 +01:00
Mike Brady
18749bc315
Add brief message about finding ALSA devices.
2020-05-16 12:49:00 +01:00