Mike Brady
6a7fb5c8ec
Update diagram to show new volume curve -- the Goldilocks curve.
2014-09-17 21:22:54 +01:00
Mike Brady
dc360d45c3
Adjust slope of volume control to be a bit faster at the lower end -- diagrams not updated.
2014-09-16 12:50:30 +01:00
Mike Brady
8548cdc67d
Modify the volume control profile to make the lower range slower to progress -- seems smoother overall on a 120db (nominal) device.
2014-09-15 21:12:59 +01:00
Mike Brady
d5fb35cd83
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.
2014-09-15 18:14:01 +01:00
Mike Brady
f88cc5ad99
Fix a bug that sometimes led to the periodic status messages not being sent. Duh.
2014-09-15 08:24:36 +01:00
Mike Brady
9c4ed54522
Detab the code, turn off othe 'Resend ...' message, delete some commented-out code and update a few comments.
2014-09-14 21:11:11 +00:00
Mike Brady
c7e49a6327
Improve sequence checking and packet resending requesting. May fix a bug that silences shairport after about three hours on a poor connection.
2014-09-14 17:30:49 +00:00
Mike Brady
c87b78cfaf
One brown-bag and extra checking on buffer management.
2014-09-11 09:07:07 +01:00
Mike Brady
0820749207
Add debug messages after resend requests; disable last-ditch resend request -- it seems to be bust.
2014-09-10 18:55:02 +01:00
Mike Brady
266e4b29eb
Fix a probably-silent bug in makeing resend requests.
2014-09-10 08:41:05 +01:00
Mke Brady
edd99037c2
Merge osxmods into 2.1
2014-09-09 00:14:31 +01:00
Mke Brady
22495a0a3b
Suppress redundant packet-out-of-sequence messages when missing frames are inserted
2014-09-08 23:43:28 +01:00
Mike Brady
0462ead319
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.
2014-09-08 13:28:26 +01:00
Mike Brady
0b90bb646c
Seems as if we do need SO_REUSEADDR stuff after all -- to allow shairport-sync to stop and restart cleanly.
2014-09-08 13:26:30 +01:00
Mike Brady
60c3d6cf43
Another approach to checking if linux or osx -- tell it, like in Avahi.
2014-09-08 11:00:43 +01:00
Mike Brady
367470ef00
Turn off debug message about jitter.
2014-09-07 15:59:27 +01:00
Mike Brady
d3e1112b63
Modify to correctly identify a linux installation
2014-09-07 15:56:09 +01:00
Mike Brady
cb68cf79f5
Initial commit -- experimental
2014-09-07 12:56:26 +01:00
Mike Brady
b38dfd0601
Try to quieten some warnings for Mac OS X
2014-09-07 12:50:41 +01:00
Mike Brady
caf359befb
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
2014-09-07 12:43:08 +01:00
Mike Brady
32fc4ff5fe
Stop Mac OS X compiler complaining about seq_diff.
2014-09-07 12:40:36 +01:00
Mike Brady
2cded85dd4
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.
2014-09-07 12:39:45 +01:00
Mike Brady
d3691bd46e
Don’t bother with SO_REUSEADDR stuff.
2014-09-07 12:36:24 +01:00
Mike Brady
8bff3213c9
Initial commit
2014-09-07 12:34:32 +01:00
Mike Brady
f64f598275
Completely remove entries for mDNS backends that are not included.
2014-09-07 12:33:54 +01:00
Mike Brady
563d4c8780
Add code to distinguish Linux from Mac OS X. Make librt inclusion linux only.
2014-09-07 12:33:17 +01:00
Mike Brady
b24edddedc
Rename absolute_time_in_ns to absolute_time_in_fp.
2014-09-07 12:32:01 +01:00
Mike Brady
0733e962bb
rename absolute_time_in_ns to absolute_time_in_fp (more accurate name). Fix osx timing calculation.
2014-09-07 12:31:23 +01:00
Mike Brady
344cf45feb
Initial Commit
2014-09-07 12:29:06 +01:00
Mike Brady
beffd76b26
Clarification
2014-09-04 15:20:04 +01:00
Mike Brady
9f46038d6c
Add lib check for librt to stop an undefined reference clock_gettime
2014-09-04 15:15:46 +01:00
Mike Brady
a34a9c68e9
Update README.md
2014-09-04 14:56:14 +01:00
Mike Brady
6669bd63dc
Update for new semantics of option -t 0.
2014-09-04 14:55:25 +01:00
Mike Brady
1b53577df9
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.
2014-09-04 14:49:05 +01:00
Mike Brady
96d38fad61
When option -t is set to zero, allow a session to be interrupted.
2014-09-04 14:40:36 +01:00
Mike Brady
aa9dc38ad2
Add option to control session timeout.
2014-09-03 17:44:57 +01:00
Mike Brady
385f31b09a
Add extra option -t/--timeout to vary the time to wait for more audio before giving up. Zero to disable timeout, default 120 seconds.
2014-09-03 13:18:58 +01:00
Mike Brady
9a3426c048
Improve error messages when prerequisistes are missing.
2014-09-02 06:55:00 +00:00
Mke Brady
e00a6e3552
Update documentation to reflect ability to add arguments to on-start and on-stop commands.
2014-09-01 22:15:45 +01:00
Mke Brady
377f344ec1
Update documentation to reflect ability to add arguments to on-start and on-stop commands.
2014-09-01 22:14:08 +01:00
Mke Brady
48fa729825
Change the help text to reflect ability to add arguments to on-start and on-stop commands.
2014-09-01 22:13:24 +01:00
Mke Brady
3466530c9e
Use popt library to allow on-start and on-stop commands to have arguments
2014-09-01 22:00:19 +01:00
Mke Brady
f4b1160d35
Add libpopt library dependency.
2014-09-01 21:59:28 +01:00
Mike Brady
b21fafe482
shorten the duration of the Gibbs phenomenon overlay -- sounds a little better...
2014-08-29 12:39:51 +01:00
Mike Brady
88fc18ad49
Add Gibss phenomenon hack to end of the packet (as well as the start).
2014-08-29 12:00:30 +01:00
Mike Brady
0a583f1b55
Quieten an incorrect compiler warning
2014-08-28 18:33:36 +01:00
Mike Brady
f6df7e9232
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.
2014-08-27 18:34:24 +00:00
Mke Brady
a9a00dc8f0
Merge branch '2.1' of github.com:mikebrady/shairport-sync into 2.1
2014-08-26 19:24:35 +01:00
Mke Brady
d713591df8
Move the time_of_last_packet timeout check to where it can run even if playback never started or was aborted, duh.
2014-08-26 19:23:54 +01:00
Mike Brady
1bf6673838
It's libssl-dev, not libopenssl-dev
2014-08-26 19:15:18 +01:00