Mike Brady
95a2dec9af
Fix BB bug in player_put_packet flush code.
2014-09-27 08:53:06 +01:00
Mike Brady
df70427a22
Supress multiple sequencial resync activity in some situations.
2014-09-27 08:38:02 +01:00
Mike Brady
c641dba3a0
Add flush logic to the point of adding packets to the queue.
2014-09-26 15:12:30 +01:00
Mike Brady
8350488077
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.
2014-09-25 18:17:45 +01:00
Mike Brady
ddb77e2e5d
Check pause request return for a 204 code, quiten some debug messages.
2014-09-23 10:47:50 +01:00
Mike Brady
d2ec715463
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...
2014-09-22 18:31:47 +01:00
Mike Brady
f2a54dd00c
Send SIGUSR2 to shairport sync and it will send a pause request to the source. Also keep checking buffers.
2014-09-22 18:31:30 +01:00
Mike Brady
0ca6fca571
Working on 2.1.2
2014-09-20 17:40:19 +01:00
Mike Brady
a4fb57259a
Update to indicate 2.1.1
2014-09-20 17:37:41 +01:00
Mike Brady
ed127c7117
Add info about stability improvements
2014-09-17 21:32:59 +01:00
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