Commit Graph
2779 Commits
Author SHA1 Message Date
Mike BradyandGitHub dfba17a4e2 Update README.md 2018-05-18 08:42:32 +01:00
Mike BradyandGitHub d967bfc7ed Update RELEASENOTES.md 2018-05-18 08:39:16 +01:00
Mike Brady ba59ea9604 Drop a player_flush request if a read lock can't be acquired on the player thread. 2018-05-18 08:34:30 +01:00
Mike Brady 8f9aaf7211 Drop a player_flush request if a read lock can't be acquired on the player thread. 2018-05-18 08:33:21 +01:00
Mike BradyandGitHub b25415ce01 Update RELEASENOTES.md 2018-05-17 16:42:55 +01:00
Mike Brady 658e3676f0 Forgot
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
2018-05-17 16:16:48 +01:00
Mike Brady 9d43064bfd If the player thread is locked, don't block player_put_packet. Instead, discard the packet. 2018-05-17 16:15:52 +01:00
Mike Brady 6d08725539 If the player thread is locked, don't block player_put_packet. Instead, discard the packet. 2018-05-17 16:15:17 +01:00
Mike BradyandGitHub a5e39ffd7e Update RELEASENOTES.md 2018-05-17 12:24:06 +01:00
Mike Brady d0237fb420 Change some debug messages. 2018-05-17 11:29:59 +01:00
Mike Brady 5fdcaf4cb0 Move to using pthread_cancel in place of pthread_kill -- due to a problem in CYGWIN, but the move makes the code simpler and more rugged. Tidy up the code a bit and remove a clobbering warning. Fix a bug casung excessive resend requests. 2018-05-17 10:59:16 +01:00
Mike Brady a8cd696f8d Fix an off-by-one bug causing excessive resend requests. 2018-05-17 10:58:22 +01:00
Mike Brady 8a5a29e2c2 Move to using pthread_cancel in place of pthread_kill -- due to a problem in CYGWIN, but the move makes the code simpler and more rugged. Tidy up the code a bit and remove a clobbering warning. 2018-05-17 10:29:59 +01:00
Mike Brady 7d0eb37958 Move to using pthread_cancel in place of pthread_kill -- due to a problem in CYGWIN, but the move makes the code simpler and more rugged. 2018-05-17 10:16:44 +01:00
Mike Brady 9aa920ab81 Fix a benign type definition mismatch 2018-05-16 18:32:17 +01:00
Mike Brady 8f06651c47 Make the resend failure message a bit less chatty and more informative. 2018-05-15 12:45:26 +01:00
Mike Brady b9d3a036b1 Revise resend interval calculation to spread it out over a long latency. 2018-05-15 12:08:01 +01:00
Mike Brady c2849b71ee Allow a great number of buffers and parameterise the fixed latency limits. 2018-05-15 09:12:17 +01:00
Mike Brady 431586726d Allow a great number of buffers and parameterise the fixed latency limits. 2018-05-15 09:11:50 +01:00
Mike Brady 8f76c853ed clean up audio_pa definition of play 2018-05-14 10:01:15 +01:00
Mike BradyandGitHub d02f47e275 Update RELEASENOTES.md 2018-05-13 15:09:17 +01:00
Mike Brady 49a76e6451 Fix a misue of rwlock and unlock -- they must be made on the same thread. 2018-05-13 14:41:59 +01:00
Mike Brady 4addf7d215 Fix a misue of rwlock and unlock -- they must be made on the same thread. 2018-05-13 14:41:15 +01:00
Mike BradyandGitHub 4c79dac7de Update RELEASENOTES.md 2018-05-12 16:09:01 +01:00
Mike Brady 6f8c9e9aa2 split player_flush into two -- make do_flush for internal use, player_flush for external use. 2018-05-12 15:57:23 +01:00
Mike Brady 8845c60397 Add a read-write mutex to protect a player thread when it's being created or deleted; make external accessors get a read lock. 2018-05-12 15:36:56 +01:00
Mike Brady b6fcabca0d Add a read-write mutex to protect a player thread when it's being created or deleted; make player_put_packet get a read lock. 2018-05-12 15:35:51 +01:00
Mike Brady 418b1ba7c7 Add a read-write mutex to protect a player thread when it's being created or deleted; make player_flush get a read lock to get access. 2018-05-12 15:10:27 +01:00
Mike Brady 803cbf7d1c Add limit checks to the (deprecated) -L fixed latency setting. 2018-05-11 12:23:17 +01:00
Mike BradyandGitHub 1a0b59e8ee Update shairport-sync.conf 2018-05-11 11:44:50 +01:00
Mike BradyandGitHub f8822ddf98 Update shairport-sync.conf 2018-05-11 11:24:29 +01:00
Mike Brady d805ce914e Make some essentially cosmetic changes to return memory when the program exits. The program never exits, but it's good for valgrind. 2018-05-11 10:56:16 +01:00
Mike BradyandGitHub c43e1d7be7 Update README.md 2018-05-10 09:32:13 +01:00
Mike BradyandGitHub 52ecf48fa3 Update RELEASENOTES.md 2018-05-10 09:25:31 +01:00
Mike BradyandGitHub 92206b2c14 Update configure.ac 2018-05-10 09:24:08 +01:00
Mike Brady 23e286e877 Add a few debug messages to see how far it gets 2018-05-10 09:05:40 +01:00
Mike Brady 7e7bbaf4da Change the resend error backoff to one sixteenth of a second -- now can alomst tolerate a 10% failure of packets. 2018-05-09 20:20:54 +01:00
Mike Brady 46fae8feb3 Hack alert. If a very large number of frames to flush is calculate -- shome mhistake -- set it to something smaller. 2018-05-09 17:15:28 +01:00
Mike BradyandGitHub ef4a63d34e Update RELEASENOTES.md 2018-05-09 09:34:57 +01:00
Mike Brady 31d3526713 Make the UDP sockets blocking rather than non-blocking, but set a two millisecond limit on the sendto calls. 2018-05-09 09:31:42 +01:00
Mike Brady 8c6e4b8ea4 Make the UDP sockets blocking rather than non-blocking, but set 2 millisecond limits on the sendto calls. 2018-05-09 09:29:47 +01:00
Mike BradyandGitHub 0083d457d8 Update RELEASENOTES.md 2018-05-08 21:14:27 +01:00
Mike Brady 1ddaa14224 Merge resolution to issue 694 (buzz during track change) into development branch 2018-05-08 20:26:26 +01:00
Mike Brady f5370a9149 Merge resolution to issue 694 (buzz during track change) into development branch 2018-05-08 20:25:47 +01:00
Mike Brady 927191b162 Stop erroneously assuming that the buffer passed to the player is not changed -- sometimes it is, it seems. Tidy up some typing. Revert to snd_pcm_drop from snd_pcm_drain. 2018-05-07 22:00:59 +01:00
Mike Brady 6d66b2ed33 Stop erroneously assuming that the buffer passed to the player is not changed -- sometimes it is, it seems. Tidy up some typing. 2018-05-07 22:00:01 +01:00
Mike Brady 03210b3829 Replace snd_pcm_drop with snd_pcm_drain -- issue 694 2018-05-06 17:27:01 +01:00
Mike Brady 709ffa5915 Replace snd_pcm_drop with snd_pcm_drain. 2018-05-06 17:25:43 +01:00
Mike Brady a5f7cd89cf Quieten a debug message. 2018-05-05 19:24:57 +01:00
Mike BradyandGitHub bee073e3cf Update RELEASENOTES.md 2018-05-05 12:11:28 +01:00