]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
7 years agoUpdate to correspond a little better to the upstream instructions.
Mike Brady [Tue, 21 Aug 2018 18:53:01 +0000 (19:53 +0100)] 
Update to correspond a little better to the upstream instructions.

7 years agoTidy the init.d script up a little more to reflect the true situation upon (attempted...
Mike Brady [Mon, 20 Aug 2018 21:44:27 +0000 (22:44 +0100)] 
Tidy the init.d script up a little more to reflect the true situation upon (attempted) startup

7 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Mon, 20 Aug 2018 21:29:14 +0000 (22:29 +0100)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot some of the changes

7 years agoMove creation of the /var/run/shairport-sync directory from install time to just...
Mike Brady [Mon, 20 Aug 2018 21:28:36 +0000 (22:28 +0100)] 
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.

7 years agoUpdate shairport-sync.freebsd
Mike Brady [Mon, 20 Aug 2018 20:57:46 +0000 (21:57 +0100)] 
Update shairport-sync.freebsd

7 years agoUpdate README.md
Mike Brady [Mon, 20 Aug 2018 19:39:11 +0000 (20:39 +0100)] 
Update README.md

7 years agoPut inclusion of sys/socket.h before net/if.h to prevent errors in OpenBSD compilation
Mike Brady [Mon, 20 Aug 2018 19:14:28 +0000 (20:14 +0100)] 
Put inclusion of sys/socket.h before net/if.h to prevent errors in OpenBSD compilation

7 years agoFix a stupid divide-by-zero error and remove unrecognised warning options for FreeBSD
Mike Brady [Mon, 20 Aug 2018 18:53:16 +0000 (19:53 +0100)] 
Fix a stupid divide-by-zero error and remove unrecognised warning options for FreeBSD

7 years agoFix up System V initialisation file to start with user and group "shairport-sync...
Mike Brady [Mon, 20 Aug 2018 17:50:58 +0000 (18:50 +0100)] 
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.

7 years agoAdd an example of getting and setting the drift tolerance.
Mike Brady [Sun, 19 Aug 2018 10:54:03 +0000 (11:54 +0100)] 
Add an example of getting and setting the drift tolerance.

7 years agoQuieten some error messages
Mike Brady [Wed, 15 Aug 2018 14:58:13 +0000 (15:58 +0100)] 
Quieten some error messages

7 years agoSimplify some calculations and a bug so that the output calculation is correclty...
Mike Brady [Wed, 15 Aug 2018 14:57:41 +0000 (15:57 +0100)] 
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.

7 years agoQuieten a debug message
Mike Brady [Wed, 15 Aug 2018 14:56:14 +0000 (15:56 +0100)] 
Quieten a debug message

7 years agoLog an entry if a different period or buffer size was requested and not obtained.
Mike Brady [Wed, 15 Aug 2018 11:42:02 +0000 (12:42 +0100)] 
Log an entry if a different period or buffer size was requested and not obtained.

7 years agoQuieten a debug message
Mike Brady [Wed, 15 Aug 2018 11:41:19 +0000 (12:41 +0100)] 
Quieten a debug message

7 years agoQuieten a debug message
Mike Brady [Wed, 15 Aug 2018 09:36:29 +0000 (10:36 +0100)] 
Quieten a debug message

7 years agoModify the timing to be (hopefully) a bit more gentle in its corrections
Mike Brady [Wed, 15 Aug 2018 09:28:51 +0000 (10:28 +0100)] 
Modify the timing to be (hopefully) a bit more gentle in its corrections

7 years agoFormat tidy-up
Mike Brady [Tue, 14 Aug 2018 11:14:49 +0000 (12:14 +0100)] 
Format tidy-up

7 years agoCalculate actual and nominal input frame rates more accurately, allowing for flush...
Mike Brady [Tue, 14 Aug 2018 11:13:02 +0000 (12:13 +0100)] 
Calculate actual and nominal input frame rates more accurately, allowing for flush and resume events.

7 years agoAdd source rate calculation based on source frame and timing information, calculated...
Mike Brady [Mon, 13 Aug 2018 13:44:22 +0000 (14:44 +0100)] 
Add source rate calculation based on source frame and timing information, calculated from start of play session.

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