Commit Graph
673 Commits
Author SHA1 Message Date
Mike Brady 4f561b2dfc Merge branch '2.1' of github.com:mikebrady/shairport-sync into 2.1
Forgot about comment updates
2014-10-18 16:01:47 +01:00
Mike Brady 12f26893b7 Only customise libdaemon if localstatedir option is really chosen. 2014-10-18 16:00:33 +01:00
Mike Brady 1b800c98f6 Remove information about 2.1.4
2.1.4 doesn't work properly on Debian systems...
2014-10-18 15:00:32 +01:00
Mike Brady edde8d8a42 Update versions to 2.1.4 2014-10-18 14:14:31 +01:00
Mke Brady 249f356154 Add ability to honour --localstatedir directive 2014-10-18 12:25:55 +01:00
Mike Brady de957295bc Turn off a few debug messages, adjust formatting. 2014-10-04 11:00:27 +01:00
Mike Brady 71f0db9b0b Merge pull request #9 from thess/2.1
rtsp.c: Fix socket open failures when no IPV6 available
2014-10-04 10:46:31 +01:00
Ted Hess 20b6e5c86c rtsp.c: Fix socket open failures when no IPV6 available
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-10-03 16:05:27 -04:00
Mike Brady 62a0b88fce Add chatty diagnostics to getting a listening port 2014-10-01 19:19:44 +01:00
Mike Brady 85cad6392d Insist that the char be signed. 2014-10-01 19:10:49 +01:00
Mike Brady 770b81afa7 use popt to check command line arguments, add debug message to see what port is being listened to. 2014-10-01 18:37:23 +01:00
Mike Brady 0385889c86 Stop program crashing after an illegal argument is passed. It doesn't check properly for arguments though. 2014-09-28 16:02:00 +01:00
Mike Brady 53f166a62f Add new option: -P or --pause sends a pause request to the source. 2014-09-27 18:34:44 +01:00
Mike Brady 7a3c9e8b46 Clean up debug message if pause request fails. 2014-09-27 18:33:37 +01:00
Mike Brady d4714519b0 Quieten chatty debug messages. 2014-09-27 11:02:48 +01:00
Mike Brady 0b7e95410d Add a little more buffer checking. 2014-09-27 10:35:24 +01:00
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