]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
7 years agoAdd back in the ability to interrupt a session. Clean up a few debug messages.
Mike Brady [Wed, 21 Nov 2018 21:32:18 +0000 (21:32 +0000)] 
Add back in the ability to interrupt a session. Clean up a few debug messages.

7 years agoForgot!
Mike Brady [Tue, 20 Nov 2018 23:49:46 +0000 (23:49 +0000)] 
Forgot!

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

7 years agoWait properly when a session is being interrupted.
Mike Brady [Tue, 20 Nov 2018 23:49:22 +0000 (23:49 +0000)] 
Wait properly when a session is being interrupted.

7 years agoRationalise some of the flush code -- reomve an inner loop, use the flush facility...
Mike Brady [Tue, 20 Nov 2018 22:58:06 +0000 (22:58 +0000)] 
Rationalise some of the flush code -- reomve an inner loop, use the flush facility for skipping to sync.

7 years agoTidy up the formats.
Mike Brady [Tue, 20 Nov 2018 22:56:53 +0000 (22:56 +0000)] 
Tidy up the formats.

7 years agoRemove inner flush loop from get_buffer. Use flush for fixing large positive error.
Mike Brady [Tue, 20 Nov 2018 22:41:23 +0000 (22:41 +0000)] 
Remove inner flush loop from get_buffer. Use flush for fixing large positive error.

7 years agoShouldn't have been in the repository.
Mike Brady [Tue, 20 Nov 2018 14:21:00 +0000 (14:21 +0000)] 
Shouldn't have been in the repository.

7 years agoPut in a cancellation point explicitly in the player_thread main loop. Tidy up some...
Mike Brady [Tue, 20 Nov 2018 14:19:35 +0000 (14:19 +0000)] 
Put in a cancellation point explicitly in the player_thread main loop. Tidy up some debug messages.

7 years agoPut in a cancellation point explicitly in the player_thread main loop. Tidy up some...
Mike Brady [Tue, 20 Nov 2018 14:18:33 +0000 (14:18 +0000)] 
Put in a cancellation point explicitly in the player_thread main loop. Tidy up some debug messages.

7 years agoDouble check debug is not a cancellation point and move the dacp monitor initialisati...
Mike Brady [Tue, 20 Nov 2018 12:07:15 +0000 (12:07 +0000)] 
Double check debug is not a cancellation point and move the dacp monitor initialisation code to after the subsidiary session threads are created.

7 years agoDouble check debug is not a cancellation point and move the dacp monitor initialisati...
Mike Brady [Tue, 20 Nov 2018 12:06:13 +0000 (12:06 +0000)] 
Double check debug is not a cancellation point and move the dacp monitor initialisation code to after the subsidiary session threads are created.

7 years agoMake debug_mutex lock and unlock completely quiet if the debug level is chosen to...
Mike Brady [Mon, 19 Nov 2018 20:51:49 +0000 (20:51 +0000)] 
Make debug_mutex lock and unlock completely quiet if the debug level is chosen to be 0.

7 years agoAdd the sort-of mutex name to the debug_mutex_lock and _unlock. Also, setting the...
Mike Brady [Mon, 19 Nov 2018 20:30:00 +0000 (20:30 +0000)] 
Add the sort-of mutex name to the debug_mutex_lock and _unlock. Also, setting the debug level to 0 turns off the debug logging of them. Handy.

7 years agoStop logging an error if the pthread_cond_wait times out.
Mike Brady [Mon, 19 Nov 2018 20:28:02 +0000 (20:28 +0000)] 
Stop logging an error if the pthread_cond_wait times out.

7 years agoAdd the sort-of mutex name to the debug_mutex_lock and _unlock. Also, setting the...
Mike Brady [Mon, 19 Nov 2018 20:12:57 +0000 (20:12 +0000)] 
Add the sort-of mutex name to the debug_mutex_lock and _unlock. Also, setting the debug level to 0 turns off the debug logging of them. Handy.

7 years agoStop noisy mutex unlock
Mike Brady [Mon, 19 Nov 2018 19:43:17 +0000 (19:43 +0000)] 
Stop noisy mutex unlock

7 years agoTry to make the debug stuff pthread_cancel-proof including the debug / warn / inform...
Mike Brady [Mon, 19 Nov 2018 18:26:42 +0000 (18:26 +0000)] 
Try to make the debug stuff pthread_cancel-proof including the debug / warn / inform / die and debug_mutex calls. Tidy up usage of program_stop.

7 years agoTry to make the debug stuff pthread_cancel-proof including the debug / warn / inform...
Mike Brady [Mon, 19 Nov 2018 18:26:03 +0000 (18:26 +0000)] 
Try to make the debug stuff pthread_cancel-proof including the debug / warn / inform / die and debug_mutex calls. Tidy up usage of program_stop.

7 years agoAdd extra checks to look for a hang in TuneBlade
Mike Brady [Mon, 19 Nov 2018 15:35:47 +0000 (15:35 +0000)] 
Add extra checks to look for a hang in TuneBlade

7 years agoUse pthread_cleanup to unlock alsa handle mutex.
Mike Brady [Mon, 19 Nov 2018 15:35:04 +0000 (15:35 +0000)] 
Use pthread_cleanup to unlock alsa handle mutex.

7 years agoMake debuglev volatile, over player_vol past the cleanup push, add some temporary...
Mike Brady [Mon, 19 Nov 2018 14:24:24 +0000 (14:24 +0000)] 
Make debuglev volatile, over player_vol past the cleanup push, add some temporary diagnostics.

7 years agoFix a logical error in buffer_get_frame that could cause an endless loop if an unread...
Mike Brady [Sun, 18 Nov 2018 15:25:06 +0000 (15:25 +0000)] 
Fix a logical error in buffer_get_frame that could cause an endless loop if an unready frame occurred during a flush.

7 years agoPut a timeout on the rtsp writeback call.
Mike Brady [Fri, 16 Nov 2018 10:05:37 +0000 (10:05 +0000)] 
Put a timeout on the rtsp writeback call.

7 years agoDon't complain if the remote processing time is zero. Check for sanity of send and...
Mike Brady [Thu, 15 Nov 2018 11:10:29 +0000 (11:10 +0000)] 
Don't complain if the remote processing time is zero. Check for sanity of send and return times.

7 years agoFix silly issue with diagnostic code.
Mike Brady [Wed, 14 Nov 2018 17:31:39 +0000 (17:31 +0000)] 
Fix silly issue with diagnostic code.

7 years agoAdd a little diagnostic to see what's in the POST message.:
Mike Brady [Wed, 14 Nov 2018 17:21:30 +0000 (17:21 +0000)] 
Add a little diagnostic to see what's in the POST message.:

7 years agoCheck timer values a bit more carefully and ignore crazy values.
Mike Brady [Wed, 14 Nov 2018 12:25:56 +0000 (12:25 +0000)] 
Check timer values a bit more carefully and ignore crazy values.

7 years agoGet more diagnostic messages when a TuneBlade-induced error occurs.
Mike Brady [Tue, 13 Nov 2018 11:00:05 +0000 (11:00 +0000)] 
Get more diagnostic messages when a TuneBlade-induced error occurs.

7 years agoUpdate INSTALL.md
Mike Brady [Mon, 12 Nov 2018 21:20:23 +0000 (21:20 +0000)] 
Update INSTALL.md

7 years agoAdd better error handling if a reply header message is faulty.
Mike Brady [Mon, 12 Nov 2018 16:41:29 +0000 (16:41 +0000)] 
Add better error handling if a reply header message is faulty.

7 years agoUpdate INSTALL.md
Mike Brady [Mon, 12 Nov 2018 14:46:33 +0000 (14:46 +0000)] 
Update INSTALL.md

7 years agoUpdate INSTALL.md
Mike Brady [Sun, 11 Nov 2018 15:31:42 +0000 (15:31 +0000)] 
Update INSTALL.md

7 years agoUpdate CAR INSTALL.md
Mike Brady [Sun, 11 Nov 2018 15:30:51 +0000 (15:30 +0000)] 
Update CAR INSTALL.md

7 years agoUpdate README.md
Mike Brady [Sun, 11 Nov 2018 15:26:57 +0000 (15:26 +0000)] 
Update README.md

7 years agoUpdate README.md
Mike Brady [Sun, 11 Nov 2018 15:25:05 +0000 (15:25 +0000)] 
Update README.md

7 years agoUpdate INSTALL.md
Mike Brady [Sun, 11 Nov 2018 15:19:56 +0000 (15:19 +0000)] 
Update INSTALL.md

7 years agoUpdate INSTALL.md
Mike Brady [Sun, 11 Nov 2018 15:19:33 +0000 (15:19 +0000)] 
Update INSTALL.md

7 years agoUpdate CAR INSTALL.md
Mike Brady [Sun, 11 Nov 2018 15:17:31 +0000 (15:17 +0000)] 
Update CAR INSTALL.md

7 years agoTidy up with clang-format
Mike Brady [Thu, 8 Nov 2018 14:43:52 +0000 (14:43 +0000)] 
Tidy up with clang-format

7 years agoMake the changes to audio_alsa.c work back to alsa 1.0.28.
Mike Brady [Thu, 8 Nov 2018 14:39:57 +0000 (14:39 +0000)] 
Make the changes to audio_alsa.c work back to alsa 1.0.28.

7 years agoRefinements...
Mike Brady [Thu, 8 Nov 2018 12:48:42 +0000 (12:48 +0000)] 
Refinements...

7 years agoPrototype working estimated delay.
Mike Brady [Thu, 8 Nov 2018 12:23:52 +0000 (12:23 +0000)] 
Prototype working estimated delay.

7 years agoInvestigating alternate timing approaches.
Mike Brady [Thu, 8 Nov 2018 11:25:24 +0000 (11:25 +0000)] 
Investigating alternate timing approaches.

7 years agoMerge pull request #768 from tillz/patch-1
Mike Brady [Sat, 3 Nov 2018 14:55:21 +0000 (14:55 +0000)] 
Merge pull request #768 from tillz/patch-1

Small logic fix -- ignore unrecognised commands.

7 years agoSmall logic fix 768/head
Till Zimmermann [Sat, 3 Nov 2018 13:34:12 +0000 (14:34 +0100)] 
Small logic fix

Fixes #767

7 years agoUpdate INSTALL.md
Mike Brady [Sat, 3 Nov 2018 13:01:49 +0000 (13:01 +0000)] 
Update INSTALL.md

7 years agoUpdate README.md
Mike Brady [Sat, 3 Nov 2018 13:00:15 +0000 (13:00 +0000)] 
Update README.md

7 years agoUpdate README.md
Mike Brady [Sat, 3 Nov 2018 12:59:17 +0000 (12:59 +0000)] 
Update README.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sat, 3 Nov 2018 12:54:58 +0000 (12:54 +0000)] 
Update RELEASENOTES.md

7 years agoUse "/dev/urandom" instead of "/dev/random" to generate a nonce for AirPlay passwords.
Mike Brady [Sat, 3 Nov 2018 12:47:55 +0000 (12:47 +0000)] 
Use "/dev/urandom" instead of "/dev/random" to generate a nonce for AirPlay passwords.

7 years agoUse "/dev/urandom" instead of "/dev/random" to generate a nonce for AirPlay passwords.
Mike Brady [Sat, 3 Nov 2018 12:46:17 +0000 (12:46 +0000)] 
Use "/dev/urandom" instead of "/dev/random" to generate a nonce for AirPlay passwords.

7 years agoImprove build instruction to avoid rebuilding stuff when there has been no change.
Mike Brady [Thu, 1 Nov 2018 12:56:32 +0000 (12:56 +0000)] 
Improve build instruction to avoid rebuilding stuff when there has been no change.

7 years agoMerge pull request #766 from mikebrady/remove_duplicate_gdbus_codegen_calls
Mike Brady [Thu, 1 Nov 2018 12:28:27 +0000 (12:28 +0000)] 
Merge pull request #766 from mikebrady/remove_duplicate_gdbus_codegen_calls

Tidy up a few things –
1. Stop duplicate gdbus codegen calls during parallel makes.
2. Remove a few unused functions in player.c.

7 years agoRemove a few unused functions. 766/head
Mike Brady [Thu, 1 Nov 2018 11:28:22 +0000 (11:28 +0000)] 
Remove a few unused functions.

7 years agoStop multiple calls to gdbus_codegen on parallel makes
Mike Brady [Thu, 1 Nov 2018 11:06:32 +0000 (11:06 +0000)] 
Stop multiple calls to gdbus_codegen on parallel makes

7 years agoUpdate RELEASENOTES.md
Mike Brady [Thu, 1 Nov 2018 09:03:52 +0000 (09:03 +0000)] 
Update RELEASENOTES.md

7 years agoUpdate configure.ac
Mike Brady [Thu, 1 Nov 2018 08:50:37 +0000 (08:50 +0000)] 
Update configure.ac

7 years agoMerge pull request #765 from mikebrady/use_disposable_libraries
Mike Brady [Thu, 1 Nov 2018 08:49:00 +0000 (08:49 +0000)] 
Merge pull request #765 from mikebrady/use_disposable_libraries

1. Separate compilation of automatically generated code from regular code to avoid compiler warnings.

2. Reorder some header includes to avoid compilation errors in OpenBSD.

3. Add a few extra warnings to the `alsa` interface to check for failure to recover from errors.

7 years agoEnhance error messages to warn if the alsa output device doesn't recover. 765/head
Mike Brady [Wed, 31 Oct 2018 16:33:16 +0000 (16:33 +0000)] 
Enhance error messages to warn if the alsa output device doesn't recover.

7 years agoChanmge order so that it will compile in openbsd.
Mike Brady [Tue, 30 Oct 2018 20:57:42 +0000 (20:57 +0000)] 
Chanmge order so that it will compile in openbsd.

7 years agoMake the lib settings standard for all builds, not individual for Linux/FreeBSD/OpenB...
Mike Brady [Tue, 30 Oct 2018 19:58:34 +0000 (19:58 +0000)] 
Make the lib settings standard for all builds, not individual for Linux/FreeBSD/OpenBSD. Let's hope.

7 years agoStart using libraries to be able to compile other people's or automatically generated...
Mike Brady [Tue, 30 Oct 2018 19:49:32 +0000 (19:49 +0000)] 
Start using libraries to be able to compile other people's or automatically generated sources using standard compilation settings.

7 years agoMerge pull request #762 from mikebrady/danger_will_rogers
Mike Brady [Tue, 30 Oct 2018 12:50:17 +0000 (12:50 +0000)] 
Merge pull request #762 from mikebrady/danger_will_rogers

Revamped timestamp calculation -- more robust behaviour with faulty networks

7 years agoRemove a signed/unsigned comparison warning 762/head
Mike Brady [Sun, 28 Oct 2018 14:20:22 +0000 (14:20 +0000)] 
Remove a signed/unsigned comparison warning

7 years agoQuieten an unnecessary debug message.
Mike Brady [Tue, 23 Oct 2018 11:15:00 +0000 (12:15 +0100)] 
Quieten an unnecessary debug message.

7 years agoImprove handling of network delays and outages -- more robust error handling.
Mike Brady [Tue, 23 Oct 2018 10:29:09 +0000 (10:29 +0000)] 
Improve handling of network delays and outages -- more robust error handling.

7 years agoTighten up integer promotion checks to calculate large delays properly. Fix input...
Mike Brady [Tue, 23 Oct 2018 10:24:40 +0000 (10:24 +0000)] 
Tighten up integer promotion checks to calculate large delays properly. Fix input rate calculation restarting.

7 years agoSee where a weird large negative delay is being calculated.
Mike Brady [Mon, 22 Oct 2018 20:53:44 +0000 (20:53 +0000)] 
See where a weird large negative delay is being calculated.

7 years agoFix calculation of filler length.
Mike Brady [Sun, 21 Oct 2018 21:52:06 +0000 (22:52 +0100)] 
Fix calculation of filler length.

7 years agoCalculate silence memory requirements properly. Remove some alarming messages.
Mike Brady [Sun, 21 Oct 2018 20:24:38 +0000 (21:24 +0100)] 
Calculate silence memory requirements properly. Remove some alarming messages.

7 years agoFurther improve the modulo 32 rtpstamp-based missing frames erro handling.
Mike Brady [Sun, 21 Oct 2018 17:33:47 +0000 (18:33 +0100)] 
Further improve the modulo 32 rtpstamp-based missing frames erro handling.

7 years agoFix a reporting error, allow a larger time window for legitimate flush requests.
Mike Brady [Sun, 21 Oct 2018 17:32:18 +0000 (18:32 +0100)] 
Fix a reporting error, allow a larger time window for legitimate flush requests.

7 years agoFormat tidy-up
Mike Brady [Sun, 21 Oct 2018 16:10:23 +0000 (17:10 +0100)] 
Format tidy-up

7 years agoRemove a few compiler warnings.
Mike Brady [Sun, 21 Oct 2018 16:00:56 +0000 (17:00 +0100)] 
Remove a few compiler warnings.

7 years agoUse a parameter rather than a hard-wired input rate.
Mike Brady [Sun, 21 Oct 2018 15:31:55 +0000 (16:31 +0100)] 
Use a parameter rather than a hard-wired input rate.

7 years agoSeems to work for higher rates
Mike Brady [Fri, 19 Oct 2018 21:14:23 +0000 (22:14 +0100)] 
Seems to work for higher rates

7 years agoReplace the entire timestamp processing software -- preliminary attempt
Mike Brady [Fri, 19 Oct 2018 13:05:59 +0000 (14:05 +0100)] 
Replace the entire timestamp processing software -- preliminary attempt

7 years agoReplace a mutex unlock deleted by accident.
Mike Brady [Fri, 19 Oct 2018 13:04:30 +0000 (14:04 +0100)] 
Replace a mutex unlock deleted by accident.

7 years agoTry to fix modulo calculations
Mike Brady [Thu, 18 Oct 2018 16:44:50 +0000 (17:44 +0100)] 
Try to fix modulo calculations

7 years agoCreate ISSUES.md
Mike Brady [Thu, 18 Oct 2018 12:15:53 +0000 (13:15 +0100)] 
Create ISSUES.md

7 years agoUpdate CONTRIBUTING.md
Mike Brady [Thu, 18 Oct 2018 12:15:03 +0000 (13:15 +0100)] 
Update CONTRIBUTING.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 14:37:17 +0000 (15:37 +0100)] 
Update RELEASENOTES.md

7 years agoTake more notice of errors requesing delay times. Extend the latency offset range...
Mike Brady [Sun, 14 Oct 2018 14:30:26 +0000 (15:30 +0100)] 
Take more notice of errors requesing delay times. Extend the latency offset range to +/- 1.75, but at the programmer's risk.

7 years agoquieten a debug message
Mike Brady [Sun, 14 Oct 2018 14:28:51 +0000 (15:28 +0100)] 
quieten a debug message

7 years agoAllow a latency offset of +/- 1.75 seconds.
Mike Brady [Sun, 14 Oct 2018 14:15:45 +0000 (15:15 +0100)] 
Allow a latency offset of +/- 1.75 seconds.

7 years agoGenerate error messages if there is a problem with getting the delay, and pay attenti...
Mike Brady [Sun, 14 Oct 2018 14:15:15 +0000 (15:15 +0100)] 
Generate error messages if there is a problem with getting the delay, and pay attention to it in the player thread.

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 13:46:11 +0000 (14:46 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 13:45:36 +0000 (14:45 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate shairport-sync.spec 3.2.2
Mike Brady [Sun, 14 Oct 2018 13:35:43 +0000 (14:35 +0100)] 
Update shairport-sync.spec

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 13:33:24 +0000 (14:33 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 13:33:17 +0000 (14:33 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 09:24:31 +0000 (10:24 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 14 Oct 2018 09:24:03 +0000 (10:24 +0100)] 
Update RELEASENOTES.md

7 years agoUpdate latencies for iOS 12 / macOS Mojave and fix a bug calling the run_this_when_vo...
Mike Brady [Sun, 14 Oct 2018 09:20:00 +0000 (10:20 +0100)] 
Update latencies for iOS 12 / macOS Mojave and fix a bug calling the run_this_when_volume_is_set program/script.

7 years agoAllow for changed AirPlay latencies in iOS 12 and mac OS Mojave (AirPlay version...
Mike Brady [Sun, 14 Oct 2018 09:18:16 +0000 (10:18 +0100)] 
Allow for changed AirPlay latencies in iOS 12 and mac OS Mojave (AirPlay version 371 and onwards)

7 years agoFix a parsing bug when calling the run_this_when_volume_is_set script/program.
Mike Brady [Sun, 14 Oct 2018 09:15:23 +0000 (10:15 +0100)] 
Fix a parsing bug when calling the run_this_when_volume_is_set script/program.

7 years agoMerge pull request #755 from roblan/development
Mike Brady [Sat, 13 Oct 2018 20:07:04 +0000 (21:07 +0100)] 
Merge pull request #755 from roblan/development

(development) normalize whitespaces in scripts/shairport-sync.conf

7 years agoAdd a debug message...
Mike Brady [Sat, 13 Oct 2018 15:23:14 +0000 (15:23 +0000)] 
Add a debug message...

7 years agonormalize whitespaces in scripts/shairport-sync.conf 755/head
Robert Lange [Sat, 13 Oct 2018 14:21:39 +0000 (16:21 +0200)] 
normalize whitespaces in scripts/shairport-sync.conf

7 years agoUpdate RELEASENOTES.md
Mike Brady [Thu, 11 Oct 2018 14:39:39 +0000 (15:39 +0100)] 
Update RELEASENOTES.md