]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
minix1234 [Fri, 12 Jun 2020 13:03:30 +0000 (09:03 -0400)]
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.
Mike Brady [Fri, 12 Jun 2020 09:10:26 +0000 (10:10 +0100)]
quieten some debug messages
Mike Brady [Thu, 11 Jun 2020 13:48:42 +0000 (14:48 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 11 Jun 2020 13:31:52 +0000 (14:31 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 11 Jun 2020 11:09:55 +0000 (12:09 +0100)]
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.
Mike Brady [Wed, 10 Jun 2020 19:04:03 +0000 (20:04 +0100)]
add code to calculate the diffusion multiplier based on the ending diffusion multiplier and the number of entries.
Mike Brady [Wed, 10 Jun 2020 13:21:29 +0000 (14:21 +0100)]
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.
Mike Brady [Tue, 9 Jun 2020 11:24:09 +0000 (12:24 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 9 Jun 2020 10:40:50 +0000 (11:40 +0100)]
Start using timing based on a linear least squares error-based estimate of remote to local time difference and drift.
Mike Brady [Tue, 9 Jun 2020 10:37:41 +0000 (11:37 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot some documentation changes made online.
Mike Brady [Tue, 9 Jun 2020 10:37:24 +0000 (11:37 +0100)]
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.
Mike Brady [Tue, 9 Jun 2020 10:33:32 +0000 (11:33 +0100)]
Remove a redundant field from a time ping record
Mike Brady [Tue, 9 Jun 2020 08:36:12 +0000 (09:36 +0100)]
Make the list of remote to local timing values a power of 2 -- necessary later for allowing headroom for calculations.
Mike Brady [Tue, 9 Jun 2020 08:33:10 +0000 (09:33 +0100)]
quieten some debug messages
Mike Brady [Sat, 6 Jun 2020 09:53:08 +0000 (10:53 +0100)]
Small mod to creating the audio pipe
Mike Brady [Fri, 5 Jun 2020 16:38:31 +0000 (17:38 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 5 Jun 2020 16:32:23 +0000 (17:32 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 5 Jun 2020 16:32:13 +0000 (17:32 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 5 Jun 2020 16:25:12 +0000 (17:25 +0100)]
BB 3.3.7d8
Mike Brady [Fri, 5 Jun 2020 16:23:10 +0000 (17:23 +0100)]
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.
Mike Brady [Fri, 5 Jun 2020 16:22:53 +0000 (17:22 +0100)]
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.
Mike Brady [Tue, 2 Jun 2020 18:45:57 +0000 (19:45 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 2 Jun 2020 18:45:11 +0000 (19:45 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 2 Jun 2020 18:43:37 +0000 (19:43 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 2 Jun 2020 18:43:01 +0000 (19:43 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 2 Jun 2020 18:41:53 +0000 (19:41 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 2 Jun 2020 18:38:55 +0000 (19:38 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 2 Jun 2020 18:37:05 +0000 (19:37 +0100)]
Separate metadata multicast from metadata pipe.
Mike Brady [Sat, 30 May 2020 16:41:16 +0000 (17:41 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 30 May 2020 14:49:00 +0000 (15:49 +0100)]
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.
Mike Brady [Thu, 28 May 2020 18:50:03 +0000 (19:50 +0100)]
temporarily disable the metadata pipe feed.
Mike Brady [Thu, 28 May 2020 16:41:49 +0000 (17:41 +0100)]
debug mods
Mike Brady [Thu, 28 May 2020 16:14:34 +0000 (17:14 +0100)]
debug mods
Mike Brady [Thu, 28 May 2020 16:01:26 +0000 (17:01 +0100)]
debug mods
Mike Brady [Thu, 28 May 2020 15:38:48 +0000 (16:38 +0100)]
debug mods
Mike Brady [Thu, 28 May 2020 15:15:15 +0000 (16:15 +0100)]
Add a really wacky debug message
Mike Brady [Thu, 28 May 2020 14:39:10 +0000 (15:39 +0100)]
change some debugging messages
Mike Brady [Thu, 28 May 2020 11:20:41 +0000 (12:20 +0100)]
Add the ability to direct logs etc. to a file or pipe.
Mike Brady [Thu, 28 May 2020 11:19:59 +0000 (12:19 +0100)]
Add the ability to direct logs etc. to a file or pipe.
Mike Brady [Wed, 27 May 2020 15:21:35 +0000 (16:21 +0100)]
Add setting to direct logs to syslog, STDERR or STDOUT
Mike Brady [Wed, 27 May 2020 14:26:08 +0000 (15:26 +0100)]
Add the beggings of a hacky check on the metadata modification lock.
Mike Brady [Wed, 27 May 2020 14:02:49 +0000 (15:02 +0100)]
Stop using home-brew non-blocking write. Instead, having opened the pipe non-blocking, change to blocking.
Mike Brady [Mon, 25 May 2020 14:30:07 +0000 (15:30 +0100)]
Edit some of the man page
Mike Brady [Mon, 25 May 2020 13:56:33 +0000 (14:56 +0100)]
Brown bag
Mike Brady [Mon, 25 May 2020 11:50:48 +0000 (12:50 +0100)]
rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe.
Mike Brady [Mon, 25 May 2020 11:48:51 +0000 (12:48 +0100)]
Forgot online changes to documentation.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Mon, 25 May 2020 11:48:39 +0000 (12:48 +0100)]
rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe.
Mike Brady [Mon, 25 May 2020 07:44:16 +0000 (08:44 +0100)]
Slight edits to the man file.
Mike Brady [Sun, 24 May 2020 18:47:04 +0000 (19:47 +0100)]
Remove the fsync calls from stdout and pipe backends. Slight edits to man file.
Mike Brady [Sun, 24 May 2020 09:18:15 +0000 (10:18 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 May 2020 09:07:04 +0000 (10:07 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 May 2020 09:06:06 +0000 (10:06 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 May 2020 09:05:42 +0000 (10:05 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 May 2020 08:45:03 +0000 (09:45 +0100)]
Clean up statistics display for backends with no sync. Flush pipe and stdout backends when play stops.
Mike Brady [Sat, 23 May 2020 19:33:50 +0000 (20:33 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 23 May 2020 19:31:54 +0000 (20:31 +0100)]
Move the statistics array from the stack into the heap.
Mike Brady [Sat, 23 May 2020 13:26:52 +0000 (14:26 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 23 May 2020 12:54:21 +0000 (13:54 +0100)]
Tidy up some of the modulo arithmetic stuff, including tidying up how to deal with out-of-order packet arrival.
Mike Brady [Sat, 23 May 2020 09:18:23 +0000 (10:18 +0100)]
Calculate the delay and sync error modulo the output frame numbers. Duh! A long-standing bug.
Mike Brady [Mon, 18 May 2020 16:25:09 +0000 (17:25 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 18 May 2020 16:00:56 +0000 (17:00 +0100)]
Improve initial sync calculations, even with short (0.3 sec) silent lead-in times.
Mike Brady [Mon, 18 May 2020 15:55:09 +0000 (16:55 +0100)]
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.
Mike Brady [Sun, 17 May 2020 11:48:25 +0000 (12:48 +0100)]
Add the ability to set the silent lead-in parameters initial_period, minimum number of adjustments and adjustment interval, and give them sensible defaults.
Mike Brady [Sat, 16 May 2020 11:54:18 +0000 (12:54 +0100)]
Quieten a few debug messages.
Mike Brady [Sat, 16 May 2020 11:49:00 +0000 (12:49 +0100)]
Add brief message about finding ALSA devices.
Mike Brady [Sat, 16 May 2020 11:35:31 +0000 (12:35 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 16 May 2020 11:25:52 +0000 (12:25 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot!
Mike Brady [Sat, 16 May 2020 11:25:27 +0000 (12:25 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 16 May 2020 11:23:08 +0000 (12:23 +0100)]
Add code to do calculations involving the audio_backend_latency_offset_in_seconds and audio_backend_silent_lead_in_time settings correctly. Clean up the audio_backend_silent_lead_in_time setting by adding an "auto" setting.
Mike Brady [Thu, 14 May 2020 19:45:52 +0000 (20:45 +0100)]
Fix calculation of latency -- honour the signs of the offset and account for the DAC buffer size.
Mike Brady [Thu, 14 May 2020 18:51:32 +0000 (19:51 +0100)]
Fix calculation of latency -- honour the signs of the offset and account for the DAC buffer size.
Mike Brady [Thu, 14 May 2020 18:11:35 +0000 (19:11 +0100)]
Merge pull request #1001 from mill1000/negative_offset_fix
Use signed integers to prevent truncation of negative backend offset.
Tucker Kern [Mon, 27 Apr 2020 21:22:06 +0000 (15:22 -0600)]
Use signed integers when calculating backend latency adjustment
Mike Brady [Wed, 15 Apr 2020 13:59:16 +0000 (14:59 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 15 Apr 2020 13:57:39 +0000 (14:57 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 31 Mar 2020 13:40:18 +0000 (14:40 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 31 Mar 2020 12:22:27 +0000 (13:22 +0100)]
Merge pull request #988 from grevaillot/to_merge-pa_server
Allow to specify pulseaudio server instead of using default one.
Guillaume Revaillot [Thu, 26 Mar 2020 15:13:36 +0000 (16:13 +0100)]
Allow to specify pulseaudio server instead of using default one.
Add "server" entry to pa config section, allowing to connect to a remote or a local system
pulseaudio instance instead of letting pulseaudio choose.
Mike Brady [Thu, 26 Mar 2020 17:11:31 +0000 (17:11 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 26 Mar 2020 17:04:25 +0000 (17:04 +0000)]
Remove leading zeroes from the DACP ID provided by mDNS
Mike Brady [Thu, 26 Mar 2020 17:03:53 +0000 (17:03 +0000)]
Remove leading zeroes from the DACP ID provided by mDNS
Mike Brady [Wed, 25 Mar 2020 10:40:05 +0000 (10:40 +0000)]
Add ability to set the missing DACP port scan interval.
Mike Brady [Wed, 25 Mar 2020 10:31:19 +0000 (10:31 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 25 Mar 2020 10:17:39 +0000 (10:17 +0000)]
If the DACP port is zero, do a zeroconf re-broswe every two seconds in case it has been missed.
Mike Brady [Wed, 25 Mar 2020 10:16:21 +0000 (10:16 +0000)]
If the DACP port is zero, do a zeroconf re-broswe every two seconds in case it has been missed.
Mike Brady [Tue, 24 Mar 2020 15:57:16 +0000 (15:57 +0000)]
Tidy up timed mutex messages.
Mike Brady [Tue, 25 Feb 2020 16:14:34 +0000 (16:14 +0000)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot documentation update.
Mike Brady [Tue, 25 Feb 2020 16:13:39 +0000 (16:13 +0000)]
Move from fixed-point 64-bit timing to unsigned nanosecond timing
Mike Brady [Tue, 25 Feb 2020 16:04:55 +0000 (16:04 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 25 Feb 2020 15:56:53 +0000 (15:56 +0000)]
Hide get_absolute_time_in_fp as it is now obselete
Mike Brady [Tue, 25 Feb 2020 15:53:56 +0000 (15:53 +0000)]
Use nanosecond time in audio_sndio
Mike Brady [Tue, 25 Feb 2020 14:44:13 +0000 (14:44 +0000)]
Fix calculation of initial delay
Mike Brady [Mon, 24 Feb 2020 22:23:08 +0000 (22:23 +0000)]
functional with full removal of get_absolute_time_fp() but not quite starting correctly
Mike Brady [Mon, 24 Feb 2020 19:58:35 +0000 (19:58 +0000)]
update packet reception statistics to use nanosecond timing
Mike Brady [Mon, 24 Feb 2020 19:40:44 +0000 (19:40 +0000)]
partial move to using a nanosecond-based system timer. More to come.
Mike Brady [Sun, 23 Feb 2020 11:46:07 +0000 (11:46 +0000)]
Add a call to get the time in nanoseconds.
Mike Brady [Sat, 22 Feb 2020 18:25:14 +0000 (18:25 +0000)]
This is 3.3.6 with some documentation updates and a tiny edit
Mike Brady [Sat, 22 Feb 2020 18:24:57 +0000 (18:24 +0000)]
Remove a redundant comparison
Mike Brady [Sat, 22 Feb 2020 18:24:33 +0000 (18:24 +0000)]
This is 3.3.6 with some documentation updates
Mike Brady [Sat, 22 Feb 2020 17:59:18 +0000 (17:59 +0000)]
Update OPENBSD.md