]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
7 years agodisplay the number of samples used to calculcate drift, clean up the settings for...
Mike Brady [Mon, 13 Aug 2018 13:06:40 +0000 (14:06 +0100)] 
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.

7 years agoAdd the ability to read and change the stuffing threshold
Mike Brady [Mon, 13 Aug 2018 13:05:14 +0000 (14:05 +0100)] 
Add the ability to read and change the stuffing threshold

7 years agoUse CXXFLAGS etc. to ensure they can be overridden properly. Turn off ABI-changed...
Mike Brady [Mon, 13 Aug 2018 13:04:22 +0000 (14:04 +0100)] 
Use CXXFLAGS etc. to ensure they can be overridden properly. Turn off ABI-changed warnings.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Wed, 8 Aug 2018 08:36:17 +0000 (09:36 +0100)] 
Update RELEASENOTES.md

7 years agoFix a read-write mutex locking issue in the metadata hub, fix a libsoxr related dbus...
Mike Brady [Wed, 8 Aug 2018 08:30:38 +0000 (09:30 +0100)] 
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.

7 years agoFix a read-write mutex locking issue in the metadata hub.
Mike Brady [Wed, 8 Aug 2018 08:28:34 +0000 (09:28 +0100)] 
Fix a read-write mutex locking issue in the metadata hub.

7 years agoFix a bug whereby libsoxr-required code wasn't included, causing soxr interpolation...
Mike Brady [Wed, 8 Aug 2018 08:04:58 +0000 (09:04 +0100)] 
Fix a bug whereby libsoxr-required code wasn't included, causing soxr interpolation to be disabled.

7 years agoRemove or comment out some extraneous code, quieten some debug messages.
Mike Brady [Wed, 8 Aug 2018 08:03:53 +0000 (09:03 +0100)] 
Remove or comment out some extraneous code, quieten some debug messages.

7 years agoTurn off "clobbering" warning, as it generates too many false positives at present.
Mike Brady [Wed, 8 Aug 2018 08:00:41 +0000 (09:00 +0100)] 
Turn off "clobbering" warning, as it generates too many false positives at present.

7 years agoRemove bogus possibly uninitialised variable warning.
Mike Brady [Mon, 6 Aug 2018 16:57:42 +0000 (17:57 +0100)] 
Remove bogus possibly uninitialised variable warning.

7 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Mon, 6 Aug 2018 11:34:27 +0000 (12:34 +0100)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot the documentation update.

7 years agoUpdate some debug messages
Mike Brady [Mon, 6 Aug 2018 11:33:45 +0000 (12:33 +0100)] 
Update some debug messages

7 years agoAllow for different output rates in the new calculations
Mike Brady [Mon, 6 Aug 2018 08:48:36 +0000 (09:48 +0100)] 
Allow for different output rates in the new calculations

7 years agoBegin to use a unified and more accurate scheme for translating between local time...
Mike Brady [Sun, 5 Aug 2018 16:23:07 +0000 (17:23 +0100)] 
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.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Wed, 1 Aug 2018 08:49:34 +0000 (09:49 +0100)] 
Update RELEASENOTES.md

7 years agoForgot documentation updates.
Mike Brady [Wed, 1 Aug 2018 08:37:06 +0000 (09:37 +0100)] 
Forgot documentation updates.

Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

7 years agoChange calculation order to prevent overflow after about 26 hours at 44,100 fps in...
Mike Brady [Wed, 1 Aug 2018 08:36:28 +0000 (09:36 +0100)] 
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.

7 years agoChange calculation order to prevent overflow after about 26 hours at 44,100 fps in...
Mike Brady [Wed, 1 Aug 2018 08:35:28 +0000 (09:35 +0100)] 
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.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 21:13:56 +0000 (22:13 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 13:23:41 +0000 (14:23 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 13:20:28 +0000 (14:20 +0100)] 
Update RELEASENOTES.md

7 years agoEnable input frame rate calculation to handle a pause/resume correctly.
Mike Brady [Mon, 30 Jul 2018 13:07:39 +0000 (14:07 +0100)] 
Enable input frame rate calculation to handle a pause/resume correctly.

7 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Mon, 30 Jul 2018 12:40:14 +0000 (13:40 +0100)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot changes.

7 years agoAdd input frame rate calculation.
Mike Brady [Mon, 30 Jul 2018 12:39:38 +0000 (13:39 +0100)] 
Add input frame rate calculation.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 11:23:55 +0000 (12:23 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 11:17:32 +0000 (12:17 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 10:29:52 +0000 (11:29 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 30 Jul 2018 10:29:28 +0000 (11:29 +0100)] 
Update RELEASENOTES.md

7 years agoStop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead...
Mike Brady [Mon, 30 Jul 2018 09:31:21 +0000 (10:31 +0100)] 
Stop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead, fix some memory leaks, add accurate ouput rate calculation to statistics, add "quit" verb to MPRIS and native d-bus interfaces. Remove incorrect warning, quiten some debug messages.

7 years agoRemove an incorrect warning about using the "general" "statistics" setting.
Mike Brady [Mon, 30 Jul 2018 09:30:00 +0000 (10:30 +0100)] 
Remove an incorrect warning about using the "general" "statistics" setting.

7 years agoStop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead...
Mike Brady [Mon, 30 Jul 2018 09:07:11 +0000 (10:07 +0100)] 
Stop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead, fix some memory leaks, add accurate ouput rate calculation to statistics, add "quit" verb to MPRIS and native d-bus interfaces. Probably still buggy.

7 years agoMove car setup alternative to an issue thread
Mike Brady [Mon, 30 Jul 2018 07:57:42 +0000 (08:57 +0100)] 
Move car setup alternative to an issue thread

7 years agoAdd debug message to try to understand a weird negagive memory request.
Mike Brady [Sun, 29 Jul 2018 14:33:42 +0000 (15:33 +0100)] 
Add debug message to try to understand a weird negagive memory request.

7 years agoMake the play function return a status (ignored for the present). Clean up audio_alsa...
Mike Brady [Sun, 29 Jul 2018 12:45:42 +0000 (13:45 +0100)] 
Make the play function return a status (ignored for the present). Clean up audio_alsa by removing all the die calls and placing the alsa_mutex calls in pthread cleanup routines.

7 years agoPrevent arithmetic overflow after 2^32 microseconds, i.e. about one hoour and 11...
Mike Brady [Sun, 29 Jul 2018 09:45:55 +0000 (10:45 +0100)] 
Prevent arithmetic overflow after 2^32 microseconds, i.e. about one hoour and 11 minutes...

7 years agoChange measurement of frames and timing to mimimise effects of paging, cache loading...
Mike Brady [Sun, 29 Jul 2018 08:47:53 +0000 (09:47 +0100)] 
Change measurement of frames and timing to mimimise effects of paging, cache loading, asynchronous access to the DAC.

7 years agoEnsure flush resets everything.
Mike Brady [Sun, 29 Jul 2018 07:35:06 +0000 (08:35 +0100)] 
Ensure flush resets everything.

7 years agoAdd a frames per second output. This should be exact if the machine is connected...
Mike Brady [Sat, 28 Jul 2018 18:02:02 +0000 (19:02 +0100)] 
Add a frames per second output. This should be exact if the machine is connected up to, say, an NTP time service. It uses CLOCK_MONOTONIC time.

7 years agoRemove use of SIGUSR1 and pthread_kill to stop threads. Not debugged!
Mike Brady [Fri, 27 Jul 2018 09:58:36 +0000 (10:58 +0100)] 
Remove use of SIGUSR1 and pthread_kill to stop threads. Not debugged!

7 years agoUpdate TROUBLESHOOTING.md
Mike Brady [Mon, 23 Jul 2018 21:15:55 +0000 (22:15 +0100)] 
Update TROUBLESHOOTING.md

7 years agoRemove hack to try to avoid whitespace removal by rsyslogd. It turns out that this...
Mike Brady [Mon, 23 Jul 2018 16:37:43 +0000 (17:37 +0100)] 
Remove hack to try to avoid whitespace removal by rsyslogd. It turns out that this has been fixed in recent versions of rsyslogd. Not on Raspbian Stretch yet though...

7 years agoQuieten some debug messages.
Mike Brady [Mon, 23 Jul 2018 13:26:48 +0000 (14:26 +0100)] 
Quieten some debug messages.

7 years agoImprove some debug messages.
Mike Brady [Mon, 23 Jul 2018 12:56:54 +0000 (13:56 +0100)] 
Improve some debug messages.

7 years agoRemove an unwanted debug messages
Mike Brady [Sun, 22 Jul 2018 15:29:36 +0000 (16:29 +0100)] 
Remove an unwanted debug messages

7 years agoRemove some unwanted debug messages
Mike Brady [Sun, 22 Jul 2018 15:26:47 +0000 (16:26 +0100)] 
Remove some unwanted debug messages

7 years agoQuieten a few debug messages
Mike Brady [Sun, 22 Jul 2018 15:13:49 +0000 (16:13 +0100)] 
Quieten a few debug messages

7 years agoFix a few memory leaks.
Mike Brady [Sun, 22 Jul 2018 15:12:52 +0000 (16:12 +0100)] 
Fix a few memory leaks.

7 years agoFix a bug where the dacp notification handlers are called
Mike Brady [Sat, 21 Jul 2018 14:35:07 +0000 (15:35 +0100)] 
Fix a bug where the dacp notification handlers are called

7 years agoUpdate README.md
Mike Brady [Sat, 21 Jul 2018 10:05:04 +0000 (11:05 +0100)] 
Update README.md

7 years agoUpdate README.md
Mike Brady [Sat, 21 Jul 2018 10:04:32 +0000 (11:04 +0100)] 
Update README.md

7 years agoTry to add proper cancellation code to all threads -- not complete, buggy.
Mike Brady [Fri, 20 Jul 2018 12:50:38 +0000 (13:50 +0100)] 
Try to add proper cancellation code to all threads -- not complete, buggy.

7 years agoAdd quit commands to the MPRIS and native D-Bus command set. Not tested ecologically.
Mike Brady [Wed, 18 Jul 2018 14:32:07 +0000 (15:32 +0100)] 
Add quit commands to the MPRIS and native D-Bus command set. Not tested ecologically.

7 years agoBegin to try to get Shairport Sync to quit cleanly, relinquishing memory and ports...
Mike Brady [Tue, 17 Jul 2018 09:28:06 +0000 (10:28 +0100)] 
Begin to try to get Shairport Sync to quit cleanly, relinquishing memory and ports etc. properly so that valgrind can be more useful.

7 years agoDelete CAR SETUP ALTERNATIVE APPROACH.md
Mike Brady [Sun, 15 Jul 2018 17:30:06 +0000 (18:30 +0100)] 
Delete CAR SETUP ALTERNATIVE APPROACH.md

Moved to a Discussion Thread

7 years agoAdd a little note to self.
Mike Brady [Sun, 15 Jul 2018 15:48:45 +0000 (16:48 +0100)] 
Add a little note to self.

7 years agoClean out player_+thread_please_stop references.
Mike Brady [Sun, 15 Jul 2018 15:25:56 +0000 (16:25 +0100)] 
Clean out player_+thread_please_stop references.

7 years agoMake session interruption work properly.
Mike Brady [Sun, 15 Jul 2018 14:20:25 +0000 (15:20 +0100)] 
Make session interruption work properly.

7 years agoMove player_stop away from pthread_kill to pthread_cancel. Add in cancellation stacks...
Mike Brady [Sun, 15 Jul 2018 13:10:42 +0000 (14:10 +0100)] 
Move player_stop away from pthread_kill to pthread_cancel. Add in cancellation stacks. Check for hidden cancellation points.

7 years agoRemove player_thread_please_stop stuff and the pthread_kill codes, quieten some debug...
Mike Brady [Sun, 15 Jul 2018 13:09:07 +0000 (14:09 +0100)] 
Remove player_thread_please_stop stuff and the pthread_kill codes, quieten some debug messages

7 years agoUse pthread_cancel to stop a player thread rather than SIGUSR1 and pthread_kill.
Mike Brady [Sun, 15 Jul 2018 12:54:33 +0000 (13:54 +0100)] 
Use pthread_cancel to stop a player thread rather than SIGUSR1 and pthread_kill.

7 years agoAdd a cancellation stack to get_buffer_frame.
Mike Brady [Sun, 15 Jul 2018 12:11:51 +0000 (13:11 +0100)] 
Add a cancellation stack to get_buffer_frame.

7 years agoAdd a | to the statistics output to ensure the columns of numbers are aligned. Seems...
Mike Brady [Sun, 15 Jul 2018 11:25:38 +0000 (12:25 +0100)] 
Add a | to the statistics output to ensure the columns of numbers are aligned. Seems to be a bug in the daemon_log (?)

7 years agoTidy up log output and add timers to inform statements. Move more stuff to the player...
Mike Brady [Sun, 15 Jul 2018 10:54:48 +0000 (11:54 +0100)] 
Tidy up log output and add timers to inform statements. Move more stuff to the player thread pop function. Warn about cancellation points in debug versions of mutex lock and unlock. Ensure they are not cancellation points when debug not in use. Warn about Mac OS X cancellation points.

7 years agoMake more of the code amenable to pthread cancel
Mike Brady [Sat, 14 Jul 2018 18:34:31 +0000 (19:34 +0100)] 
Make more of the code amenable to pthread cancel

7 years agoMake pc add and get items work if pthread_cancel occurs
Mike Brady [Sat, 14 Jul 2018 13:32:22 +0000 (14:32 +0100)] 
Make pc add and get items work if pthread_cancel occurs

7 years agoMove ab_mutex, flow control CV and flush mutex initialisation and teardown out of...
Mike Brady [Sat, 14 Jul 2018 12:38:29 +0000 (13:38 +0100)] 
Move ab_mutex, flow control CV and flush mutex initialisation and teardown out of the player thread. Thus remove need for player theread lock. Format some of the surce files.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 10:43:18 +0000 (11:43 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 09:52:35 +0000 (10:52 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 09:52:07 +0000 (10:52 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate shairport-sync.spec 3.2.1
Mike Brady [Fri, 13 Jul 2018 08:30:42 +0000 (09:30 +0100)] 
Update shairport-sync.spec

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 08:28:54 +0000 (09:28 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 08:27:44 +0000 (09:27 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 08:27:17 +0000 (09:27 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 08:26:42 +0000 (09:26 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 08:26:16 +0000 (09:26 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 13 Jul 2018 08:15:00 +0000 (09:15 +0100)] 
Update RELEASENOTES.md

7 years agoFix a bug that was causing instability when soxr interpolalation is chosen
Mike Brady [Fri, 13 Jul 2018 08:07:27 +0000 (09:07 +0100)] 
Fix a bug that was causing instability when soxr interpolalation is chosen

7 years agoUpdate CAR SETUP ALTERNATIVE APPROACH.md
Mike Brady [Thu, 12 Jul 2018 11:10:45 +0000 (12:10 +0100)] 
Update CAR SETUP ALTERNATIVE APPROACH.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Wed, 11 Jul 2018 20:08:50 +0000 (21:08 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate configure.ac
Mike Brady [Wed, 11 Jul 2018 20:04:31 +0000 (21:04 +0100)] 
Update configure.ac

7 years agoFix a bug that caused a crash when soxr was enabled and play stopped. Also may have...
Mike Brady [Wed, 11 Jul 2018 20:00:23 +0000 (21:00 +0100)] 
Fix a bug that caused a crash when soxr was enabled and play stopped. Also may have caused other apparently random crashes

7 years agoTidy up some avahi code and some player code, but bug not fixed
Mike Brady [Wed, 11 Jul 2018 19:49:31 +0000 (20:49 +0100)] 
Tidy up some avahi code and some player code, but bug not fixed

7 years ago3.2d66 corresponds to 3.2, with some extra features, e.g. mqtt
Mike Brady [Tue, 10 Jul 2018 12:29:03 +0000 (13:29 +0100)] 
3.2d66 corresponds to 3.2, with some extra features, e.g. mqtt

7 years agoBring some documentation updates back from the master branch to the development branch
Mike Brady [Tue, 10 Jul 2018 12:27:02 +0000 (13:27 +0100)] 
Bring some documentation updates back from the master branch to the development branch

7 years agoUpdate RELEASENOTES.md 3.2
Mike Brady [Mon, 9 Jul 2018 13:25:16 +0000 (14:25 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate configure.ac
Mike Brady [Mon, 9 Jul 2018 13:22:11 +0000 (14:22 +0100)] 
Update configure.ac

7 years agoUpdate shairport-sync.spec
Mike Brady [Mon, 9 Jul 2018 13:20:48 +0000 (14:20 +0100)] 
Update shairport-sync.spec

7 years agoCreate CAR SETUP ALTERNATIVE APPROACH.md
Mike Brady [Sun, 8 Jul 2018 12:00:47 +0000 (13:00 +0100)] 
Create CAR SETUP ALTERNATIVE APPROACH.md

7 years agoUpdate RELEASENOTES.md 3.2RC13
Mike Brady [Mon, 2 Jul 2018 15:18:28 +0000 (16:18 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 2 Jul 2018 15:15:35 +0000 (16:15 +0100)] 
Update RELEASENOTES.md

7 years agoDon't ask for packets to be resent quite as much.
Mike Brady [Mon, 2 Jul 2018 15:12:00 +0000 (16:12 +0100)] 
Don't ask for packets to be resent quite as much.

7 years agoDon't ask for packets to be resent quite as much.
Mike Brady [Mon, 2 Jul 2018 15:11:52 +0000 (16:11 +0100)] 
Don't ask for packets to be resent quite as much.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sat, 30 Jun 2018 14:52:36 +0000 (10:52 -0400)] 
Update RELEASENOTES.md

7 years agoDo some very elementary checking of an ANNOUNCE packet -- check for content length...
Mike Brady [Sat, 30 Jun 2018 14:47:54 +0000 (15:47 +0100)] 
Do some very elementary checking of an ANNOUNCE packet -- check for content length over 1k and for negative remaining line lengths...

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 29 Jun 2018 22:32:47 +0000 (18:32 -0400)] 
Update RELEASENOTES.md

7 years agoReduce the rate at which resends are requests to make them less, uh, insistent
Mike Brady [Fri, 29 Jun 2018 21:59:42 +0000 (22:59 +0100)] 
Reduce the rate at which resends are requests to make them less, uh, insistent

7 years agoReduce the rate at which resends are requests to make them less, uh, insistent
Mike Brady [Fri, 29 Jun 2018 21:59:19 +0000 (22:59 +0100)] 
Reduce the rate at which resends are requests to make them less, uh, insistent

7 years agoAdd a hint for the mosquitto library.
Mike Brady [Tue, 26 Jun 2018 21:07:13 +0000 (22:07 +0100)] 
Add a hint for the mosquitto library.

7 years agoUpdate RELEASENOTES.md 3.2RC12
Mike Brady [Fri, 22 Jun 2018 08:14:43 +0000 (09:14 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 22 Jun 2018 08:14:26 +0000 (09:14 +0100)] 
Update RELEASENOTES.md