]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
10 years agortsp.c: Fix socket open failures when no IPV6 available 9/head
Ted Hess [Fri, 3 Oct 2014 20:05:27 +0000 (16:05 -0400)] 
rtsp.c: Fix socket open failures when no IPV6 available

Signed-off-by: Ted Hess <thess@kitschensync.net>
10 years agoAdd chatty diagnostics to getting a listening port
Mike Brady [Wed, 1 Oct 2014 18:19:44 +0000 (19:19 +0100)] 
Add chatty diagnostics to getting a listening port

10 years agoInsist that the char be signed.
Mike Brady [Wed, 1 Oct 2014 18:10:49 +0000 (19:10 +0100)] 
Insist that the char be signed.

10 years agouse popt to check command line arguments, add debug message to see what port is being...
Mike Brady [Wed, 1 Oct 2014 17:37:23 +0000 (18:37 +0100)] 
use popt to check command line arguments, add debug message to see what port is being listened to.

10 years agoStop program crashing after an illegal argument is passed. It doesn't check properly... 2.1.2
Mike Brady [Sun, 28 Sep 2014 15:02:00 +0000 (16:02 +0100)] 
Stop program crashing after an illegal argument is passed. It doesn't check properly for arguments though.

10 years agoAdd new option: -P or --pause sends a pause request to the source.
Mike Brady [Sat, 27 Sep 2014 17:34:44 +0000 (18:34 +0100)] 
Add new option: -P or --pause sends a pause request to the source.

10 years agoClean up debug message if pause request fails.
Mike Brady [Sat, 27 Sep 2014 17:33:37 +0000 (18:33 +0100)] 
Clean up debug message if pause request fails.

10 years agoQuieten chatty debug messages.
Mike Brady [Sat, 27 Sep 2014 10:02:48 +0000 (11:02 +0100)] 
Quieten chatty debug messages.

10 years agoAdd a little more buffer checking.
Mike Brady [Sat, 27 Sep 2014 09:35:24 +0000 (10:35 +0100)] 
Add a little more buffer checking.

10 years agoFix BB bug in player_put_packet flush code.
Mike Brady [Sat, 27 Sep 2014 07:53:06 +0000 (08:53 +0100)] 
Fix BB bug in player_put_packet flush code.

10 years agoSupress multiple sequencial resync activity in some situations.
Mike Brady [Sat, 27 Sep 2014 07:38:02 +0000 (08:38 +0100)] 
Supress multiple sequencial resync activity in some situations.

10 years agoAdd flush logic to the point of adding packets to the queue.
Mike Brady [Fri, 26 Sep 2014 14:12:30 +0000 (15:12 +0100)] 
Add flush logic to the point of adding packets to the queue.

10 years agoRefactor code to open and close the alsa device. Now it opens the device on play...
Mike Brady [Thu, 25 Sep 2014 17:17:45 +0000 (18:17 +0100)] 
Refactor code to open and close the alsa device. Now it opens the device on play and closes it on pause or stop. Should speed up return of availability of device when client pauses or stops.

10 years agoCheck pause request return for a 204 code, quiten some debug messages.
Mike Brady [Tue, 23 Sep 2014 09:47:50 +0000 (10:47 +0100)] 
Check pause request return for a 204 code, quiten some debug messages.

10 years agoMerge branch '2.1' of github.com:mikebrady/shairport-sync into 2.1
Mike Brady [Mon, 22 Sep 2014 17:31:47 +0000 (18:31 +0100)] 
Merge branch '2.1' of github.com:mikebrady/shairport-sync into 2.1
This is necessary because of updating configure.ac to 2.1.2, which will change again...

10 years agoSend SIGUSR2 to shairport sync and it will send a pause request to the source. Also...
Mike Brady [Mon, 22 Sep 2014 17:31:30 +0000 (18:31 +0100)] 
Send SIGUSR2 to shairport sync and it will send a pause request to the source. Also keep checking buffers.

10 years agoWorking on 2.1.2
Mike Brady [Sat, 20 Sep 2014 16:40:19 +0000 (17:40 +0100)] 
Working on 2.1.2

10 years agoUpdate to indicate 2.1.1
Mike Brady [Sat, 20 Sep 2014 16:37:41 +0000 (17:37 +0100)] 
Update to indicate 2.1.1

10 years agoAdd info about stability improvements 2.1.1
Mike Brady [Wed, 17 Sep 2014 20:32:59 +0000 (21:32 +0100)] 
Add info about stability improvements

10 years agoUpdate diagram to show new volume curve -- the Goldilocks curve.
Mike Brady [Wed, 17 Sep 2014 20:22:54 +0000 (21:22 +0100)] 
Update diagram to show new volume curve -- the Goldilocks curve.

10 years agoAdjust slope of volume control to be a bit faster at the lower end -- diagrams not...
Mike Brady [Tue, 16 Sep 2014 11:50:30 +0000 (12:50 +0100)] 
Adjust slope of volume control to be a bit faster at the lower end -- diagrams not updated.

10 years agoModify the volume control profile to make the lower range slower to progress -- seems...
Mike Brady [Mon, 15 Sep 2014 20:12:59 +0000 (21:12 +0100)] 
Modify the volume control profile to make the lower range slower to progress -- seems smoother overall on a 120db (nominal) device.

10 years agoStill on the trail of that silencing bug -- fixed a silencing bug that could actually...
Mike Brady [Mon, 15 Sep 2014 17:14:01 +0000 (18:14 +0100)] 
Still on the trail of that silencing bug -- fixed a silencing bug that could actually have caused it! Flush is a bit cruder, but I can't tell.

10 years agoFix a bug that sometimes led to the periodic status messages not being sent. Duh.
Mike Brady [Mon, 15 Sep 2014 07:24:36 +0000 (08:24 +0100)] 
Fix a bug that sometimes led to the periodic status messages not being sent. Duh.

10 years agoDetab the code, turn off othe 'Resend ...' message, delete some commented-out code...
Mike Brady [Sun, 14 Sep 2014 21:11:11 +0000 (21:11 +0000)] 
Detab the code, turn off othe 'Resend ...' message, delete some commented-out code and update a few comments.

10 years agoImprove sequence checking and packet resending requesting. May fix a bug that silence...
Mike Brady [Sun, 14 Sep 2014 17:30:49 +0000 (17:30 +0000)] 
Improve sequence checking and packet resending requesting. May fix a bug that silences shairport after about three hours on a poor connection.

11 years agoOne brown-bag and extra checking on buffer management.
Mike Brady [Thu, 11 Sep 2014 08:07:07 +0000 (09:07 +0100)] 
One brown-bag and extra checking on buffer management.

11 years agoAdd debug messages after resend requests; disable last-ditch resend request -- it...
Mike Brady [Wed, 10 Sep 2014 17:55:02 +0000 (18:55 +0100)] 
Add debug messages after resend requests; disable last-ditch resend request -- it seems to be bust.

11 years agoFix a probably-silent bug in makeing resend requests.
Mike Brady [Wed, 10 Sep 2014 07:41:05 +0000 (08:41 +0100)] 
Fix a probably-silent bug in makeing resend requests.

11 years agoMerge osxmods into 2.1
Mke Brady [Mon, 8 Sep 2014 23:14:31 +0000 (00:14 +0100)] 
Merge osxmods into 2.1

11 years agoSuppress redundant packet-out-of-sequence messages when missing frames are inserted
Mke Brady [Mon, 8 Sep 2014 22:43:28 +0000 (23:43 +0100)] 
Suppress redundant packet-out-of-sequence messages when missing frames are inserted

11 years agoAdd seq_t PREDECSSOR and seq_sum functions, use them in place of add and subtract...
Mike Brady [Mon, 8 Sep 2014 12:28:26 +0000 (13:28 +0100)] 
Add seq_t PREDECSSOR and seq_sum functions, use them in place of add and subtract. Make play loop record plays and stats even when given silent frames.

11 years agoSeems as if we do need SO_REUSEADDR stuff after all -- to allow shairport-sync to...
Mike Brady [Mon, 8 Sep 2014 12:26:30 +0000 (13:26 +0100)] 
Seems as if we do need SO_REUSEADDR stuff after all -- to allow shairport-sync to stop and restart cleanly.

11 years agoAnother approach to checking if linux or osx -- tell it, like in Avahi.
Mike Brady [Mon, 8 Sep 2014 10:00:43 +0000 (11:00 +0100)] 
Another approach to checking if linux or osx -- tell it, like in Avahi.

11 years agoTurn off debug message about jitter.
Mike Brady [Sun, 7 Sep 2014 14:59:27 +0000 (15:59 +0100)] 
Turn off debug message about jitter.

11 years agoModify to correctly identify a linux installation
Mike Brady [Sun, 7 Sep 2014 14:56:09 +0000 (15:56 +0100)] 
Modify to correctly identify a linux installation

11 years agoInitial commit -- experimental
Mike Brady [Sun, 7 Sep 2014 11:56:26 +0000 (12:56 +0100)] 
Initial commit -- experimental

11 years agoTry to quieten some warnings for Mac OS X
Mike Brady [Sun, 7 Sep 2014 11:50:41 +0000 (12:50 +0100)] 
Try to quieten some warnings for Mac OS X

11 years ago1. Stop Mac OS X compiler complaining about seq_diff being “inline”
Mike Brady [Sun, 7 Sep 2014 11:43:08 +0000 (12:43 +0100)] 
1. Stop Mac OS X compiler complaining about seq_diff being “inline”
2. Use get_absolute_time_in_fp rather than get_absolute_time_in_ns
3. Remove useless and buggy jitter count stuff

11 years agoStop Mac OS X compiler complaining about seq_diff.
Mike Brady [Sun, 7 Sep 2014 11:40:36 +0000 (12:40 +0100)] 
Stop Mac OS X compiler complaining about seq_diff.

11 years ago1. Fix sendto calls to use the exactly correct length for message destinations. OS...
Mike Brady [Sun, 7 Sep 2014 11:39:45 +0000 (12:39 +0100)] 
1. Fix sendto calls to use the exactly correct length for message destinations. OS X objects to incorrect lengths, though Linux is silent on it.
2. Use getaddrinfo to make up correctly-formed destination sockets.
3. bind_port is now a steaming mass of crap.

11 years agoDon’t bother with SO_REUSEADDR stuff.
Mike Brady [Sun, 7 Sep 2014 11:36:24 +0000 (12:36 +0100)] 
Don’t bother with SO_REUSEADDR stuff.

11 years agoInitial commit
Mike Brady [Sun, 7 Sep 2014 11:34:32 +0000 (12:34 +0100)] 
Initial commit

11 years agoCompletely remove entries for mDNS backends that are not included.
Mike Brady [Sun, 7 Sep 2014 11:33:54 +0000 (12:33 +0100)] 
Completely remove entries for mDNS backends that are not included.

11 years agoAdd code to distinguish Linux from Mac OS X. Make librt inclusion linux only.
Mike Brady [Sun, 7 Sep 2014 11:33:17 +0000 (12:33 +0100)] 
Add code to distinguish Linux from Mac OS X. Make librt inclusion linux only.

11 years agoRename absolute_time_in_ns to absolute_time_in_fp.
Mike Brady [Sun, 7 Sep 2014 11:32:01 +0000 (12:32 +0100)] 
Rename absolute_time_in_ns to absolute_time_in_fp.

11 years agorename absolute_time_in_ns to absolute_time_in_fp (more accurate name). Fix osx timin...
Mike Brady [Sun, 7 Sep 2014 11:31:23 +0000 (12:31 +0100)] 
rename absolute_time_in_ns to absolute_time_in_fp (more accurate name). Fix osx timing calculation.

11 years agoInitial Commit
Mike Brady [Sun, 7 Sep 2014 11:29:06 +0000 (12:29 +0100)] 
Initial Commit

11 years agoClarification
Mike Brady [Thu, 4 Sep 2014 14:20:04 +0000 (15:20 +0100)] 
Clarification

11 years agoAdd lib check for librt to stop an undefined reference clock_gettime
Mike Brady [Thu, 4 Sep 2014 14:15:46 +0000 (15:15 +0100)] 
Add lib check for librt to stop an undefined reference clock_gettime

11 years agoUpdate README.md
Mike Brady [Thu, 4 Sep 2014 13:56:14 +0000 (14:56 +0100)] 
Update README.md

11 years agoUpdate for new semantics of option -t 0.
Mike Brady [Thu, 4 Sep 2014 13:55:25 +0000 (14:55 +0100)] 
Update for new semantics of option -t 0.

11 years agoUpdate for change to -t = 0 option.
Mike Brady [Thu, 4 Sep 2014 13:49:05 +0000 (14:49 +0100)] 
Update for change to -t = 0 option.

Setting the timeout period to 0 means that play requests -- say from other devices on the network -- can interrupt and terminate the current session. In other words, the "busy" feature of the device -- being not available to another player while playing from an existing source -- is turned off.

11 years agoWhen option -t is set to zero, allow a session to be interrupted.
Mike Brady [Thu, 4 Sep 2014 13:40:36 +0000 (14:40 +0100)] 
When option -t is set to zero, allow a session to be interrupted.

11 years agoAdd option to control session timeout.
Mike Brady [Wed, 3 Sep 2014 16:44:57 +0000 (17:44 +0100)] 
Add option to control session timeout.

11 years agoAdd extra option -t/--timeout to vary the time to wait for more audio before giving...
Mike Brady [Wed, 3 Sep 2014 12:18:58 +0000 (13:18 +0100)] 
Add extra option -t/--timeout to vary the time to wait for more audio before giving up. Zero to disable timeout, default 120 seconds.

11 years agoImprove error messages when prerequisistes are missing.
Mike Brady [Tue, 2 Sep 2014 06:55:00 +0000 (06:55 +0000)] 
Improve error messages when prerequisistes are missing.

11 years agoUpdate documentation to reflect ability to add arguments to on-start and on-stop...
Mke Brady [Mon, 1 Sep 2014 21:15:45 +0000 (22:15 +0100)] 
Update documentation to reflect ability to add arguments to on-start and on-stop commands.

11 years agoUpdate documentation to reflect ability to add arguments to on-start and on-stop...
Mke Brady [Mon, 1 Sep 2014 21:14:08 +0000 (22:14 +0100)] 
Update documentation to reflect ability to add arguments to on-start and on-stop commands.

11 years agoChange the help text to reflect ability to add arguments to on-start and on-stop...
Mke Brady [Mon, 1 Sep 2014 21:13:24 +0000 (22:13 +0100)] 
Change the help text to reflect ability to add arguments to on-start and on-stop commands.

11 years agoUse popt library to allow on-start and on-stop commands to have arguments
Mke Brady [Mon, 1 Sep 2014 21:00:19 +0000 (22:00 +0100)] 
Use popt library to allow on-start and on-stop commands to have arguments

11 years agoAdd libpopt library dependency.
Mke Brady [Mon, 1 Sep 2014 20:59:28 +0000 (21:59 +0100)] 
Add libpopt library dependency.

11 years agoshorten the duration of the Gibbs phenomenon overlay -- sounds a little better... V2.1
Mike Brady [Fri, 29 Aug 2014 11:39:51 +0000 (12:39 +0100)] 
shorten the duration of the Gibbs phenomenon overlay -- sounds a little better...

11 years agoAdd Gibss phenomenon hack to end of the packet (as well as the start).
Mike Brady [Fri, 29 Aug 2014 11:00:30 +0000 (12:00 +0100)] 
Add Gibss phenomenon hack to end of the packet (as well as the start).

11 years agoQuieten an incorrect compiler warning
Mike Brady [Thu, 28 Aug 2014 17:33:36 +0000 (18:33 +0100)] 
Quieten an incorrect compiler warning

11 years agoAdd a simple pseudo-random throttle to keep the rate of corrections below 1:1000...
Mike Brady [Wed, 27 Aug 2014 18:34:24 +0000 (18:34 +0000)] 
Add a simple pseudo-random throttle to keep the rate of corrections below 1:1000 on average -- that is, about 1 packet in three may be interpolated.

11 years agoMerge branch '2.1' of github.com:mikebrady/shairport-sync into 2.1
Mke Brady [Tue, 26 Aug 2014 18:24:35 +0000 (19:24 +0100)] 
Merge branch '2.1' of github.com:mikebrady/shairport-sync into 2.1

11 years agoMove the time_of_last_packet timeout check to where it can run even if playback never...
Mke Brady [Tue, 26 Aug 2014 18:23:54 +0000 (19:23 +0100)] 
Move the time_of_last_packet timeout check to where it can run even if playback never started or was aborted, duh.

11 years agoIt's libssl-dev, not libopenssl-dev
Mike Brady [Tue, 26 Aug 2014 18:15:18 +0000 (19:15 +0100)] 
It's libssl-dev, not libopenssl-dev

11 years agoFinalise for 2.1
Mike Brady [Tue, 26 Aug 2014 13:03:27 +0000 (14:03 +0100)] 
Finalise for 2.1

11 years agoMake it final 2.1
Mike Brady [Tue, 26 Aug 2014 12:58:05 +0000 (13:58 +0100)] 
Make it final 2.1

11 years agoMake it just "2.1"
Mike Brady [Tue, 26 Aug 2014 12:56:08 +0000 (13:56 +0100)] 
Make it just "2.1"

11 years agoReintegrate "What's New"
Mike Brady [Tue, 26 Aug 2014 09:03:40 +0000 (10:03 +0100)] 
Reintegrate "What's New"

11 years agoReintegrate "What's New"
Mike Brady [Tue, 26 Aug 2014 09:02:19 +0000 (10:02 +0100)] 
Reintegrate "What's New"

11 years agoMove the news back to README.md.
Mike Brady [Tue, 26 Aug 2014 08:31:47 +0000 (09:31 +0100)] 
Move the news back to README.md.

Hard to read here...

11 years agoEven more...
Mike Brady [Mon, 25 Aug 2014 09:31:47 +0000 (10:31 +0100)] 
Even more...

11 years agoEven more tiny edits.
Mike Brady [Mon, 25 Aug 2014 09:13:39 +0000 (10:13 +0100)] 
Even more tiny edits.

11 years agoMore tiny adjustments
Mike Brady [Mon, 25 Aug 2014 08:52:21 +0000 (09:52 +0100)] 
More tiny adjustments

11 years agoSummary of what's new at top
Mike Brady [Mon, 25 Aug 2014 08:38:31 +0000 (09:38 +0100)] 
Summary of what's new at top

11 years agoTiny edits.
Mike Brady [Sun, 24 Aug 2014 16:08:11 +0000 (17:08 +0100)] 
Tiny edits.

11 years agoAdd support for PolarSSL, libsoxr, fix ab_* and seq_* definitions and utilites, remov...
Mike Brady [Sun, 24 Aug 2014 15:32:34 +0000 (16:32 +0100)] 
Add support for PolarSSL, libsoxr, fix ab_* and seq_* definitions and utilites, remove FANCY_RESAMPLING stuff, fix many many bugs.

11 years agoChange definition of seq_diff to bring it into player.c
Mike Brady [Sun, 24 Aug 2014 15:27:44 +0000 (16:27 +0100)] 
Change definition of seq_diff to bring it into player.c

11 years agoAdd support for PolarSSL, quieten some error messages.
Mike Brady [Sun, 24 Aug 2014 15:26:44 +0000 (16:26 +0100)] 
Add support for PolarSSL, quieten some error messages.

11 years agoAdd new options, version info, polarssl, refine some debug messages, bug fixes.
Mike Brady [Sun, 24 Aug 2014 15:25:13 +0000 (16:25 +0100)] 
Add new options, version info, polarssl, refine some debug messages, bug fixes.

11 years agoAdd support for centralised timing, jitter calculation, probably not working, add...
Mike Brady [Sun, 24 Aug 2014 15:23:12 +0000 (16:23 +0100)] 
Add support for centralised timing, jitter calculation, probably not working, add an aging factor to dispersion, as per NTP. Check crudely for out of sequence packets.

11 years agoStop incorrect warning about malloc/free and add an ignore int to stop another warning
Mike Brady [Sun, 24 Aug 2014 15:18:46 +0000 (16:18 +0100)] 
Stop incorrect warning about malloc/free and add an ignore int to stop another warning

11 years agoStop incorrect warning about malloc/free
Mike Brady [Sun, 24 Aug 2014 15:17:56 +0000 (16:17 +0100)] 
Stop incorrect warning about malloc/free

11 years agoAdd support for removing tinysvcmdns
Mike Brady [Sun, 24 Aug 2014 15:17:14 +0000 (16:17 +0100)] 
Add support for removing tinysvcmdns

11 years agoAdd support for PolarSSL, soxr, fix tinysvcmdns stuff, fix bugs.
Mike Brady [Sun, 24 Aug 2014 15:16:00 +0000 (16:16 +0100)] 
Add support for PolarSSL, soxr, fix tinysvcmdns stuff, fix bugs.

11 years agoAdd support for PolarSSL, some OS X stuff, centralised absolute timing, -B and -E...
Mike Brady [Sun, 24 Aug 2014 15:14:17 +0000 (16:14 +0100)] 
Add support for PolarSSL, some OS X stuff, centralised absolute timing, -B and -E command execution. Bug fixes.

11 years agoAdd support for stuffing option, for the start and end commands and centralise how...
Mike Brady [Sun, 24 Aug 2014 15:12:22 +0000 (16:12 +0100)] 
Add support for stuffing option, for the start and end commands and centralise how to get absolute time.

11 years agoImprove error messages, make them quieter sometimes.
Mike Brady [Sun, 24 Aug 2014 15:10:05 +0000 (16:10 +0100)] 
Improve error messages, make them quieter sometimes.

11 years agoAdd int to stop compiler warning
Mike Brady [Sun, 24 Aug 2014 15:08:32 +0000 (16:08 +0100)] 
Add int to stop compiler warning

11 years agoNot used
Mike Brady [Sun, 24 Aug 2014 15:07:20 +0000 (16:07 +0100)] 
Not used

11 years agoDon't need it.
Mike Brady [Sun, 24 Aug 2014 15:06:30 +0000 (16:06 +0100)] 
Don't need it.

11 years agoUpdate for new features etc.
Mike Brady [Sun, 24 Aug 2014 15:05:51 +0000 (16:05 +0100)] 
Update for new features etc.

11 years agoWhat's new in 2.1
Mike Brady [Sun, 24 Aug 2014 15:04:18 +0000 (16:04 +0100)] 
What's new in 2.1

11 years agoMeh
Mike Brady [Sun, 24 Aug 2014 15:03:49 +0000 (16:03 +0100)] 
Meh

11 years agoMove from shairport to shairport-sync.
Mike Brady [Sun, 24 Aug 2014 15:03:28 +0000 (16:03 +0100)] 
Move from shairport to shairport-sync.

11 years agoOmit tinysvcmdns stuff unless needed. Move from shairport to shairport-sync.
Mike Brady [Sun, 24 Aug 2014 15:02:57 +0000 (16:02 +0100)] 
Omit tinysvcmdns stuff unless needed. Move from shairport to shairport-sync.