Commit Graph
3145 Commits
Author SHA1 Message Date
Mike BradyandGitHub 23eb7d7038 Update shairport-sync.conf 2018-11-22 10:08:00 +00:00
Mike Brady d3aca80c9e Add back in the ability to interrupt a session. Clean up a few debug messages. 2018-11-21 21:33:21 +00:00
Mike Brady 303a85c3b5 Add back in the ability to interrupt a session. Clean up a few debug messages. 2018-11-21 21:32:18 +00:00
Mike Brady 36e13535e9 Forgot!
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
2018-11-20 23:49:46 +00:00
Mike Brady 0529a58179 Wait properly when a session is being interrupted. 2018-11-20 23:49:22 +00:00
Mike Brady 4911dacc7c Rationalise some of the flush code -- reomve an inner loop, use the flush facility for skipping to sync. 2018-11-20 22:58:06 +00:00
Mike Brady ccc4fe09af Tidy up the formats. 2018-11-20 22:56:53 +00:00
Mike Brady 8f34c181e1 Remove inner flush loop from get_buffer. Use flush for fixing large positive error. 2018-11-20 22:41:23 +00:00
Mike Brady 61cf21fda8 Shouldn't have been in the repository. 2018-11-20 14:21:00 +00:00
Mike Brady 8644cfb00a Put in a cancellation point explicitly in the player_thread main loop. Tidy up some debug messages. 2018-11-20 14:19:35 +00:00
Mike Brady 6e6c8213e6 Put in a cancellation point explicitly in the player_thread main loop. Tidy up some debug messages. 2018-11-20 14:18:33 +00:00
Mike Brady 18497e6491 Double check debug is not a cancellation point and move the dacp monitor initialisation code to after the subsidiary session threads are created. 2018-11-20 12:07:15 +00:00
Mike Brady ec7d46bc32 Double check debug is not a cancellation point and move the dacp monitor initialisation code to after the subsidiary session threads are created. 2018-11-20 12:06:13 +00:00
Mike Brady 8991a08278 Make debug_mutex lock and unlock completely quiet if the debug level is chosen to be 0. 2018-11-19 20:51:49 +00:00
Mike Brady d17df82df3 Add the sort-of mutex name to the debug_mutex_lock and _unlock. Also, setting the debug level to 0 turns off the debug logging of them. Handy. 2018-11-19 20:30:00 +00:00
Mike Brady 95f0f0121a Stop logging an error if the pthread_cond_wait times out. 2018-11-19 20:28:02 +00:00
Mike Brady f7342a70df Add the sort-of mutex name to the debug_mutex_lock and _unlock. Also, setting the debug level to 0 turns off the debug logging of them. Handy. 2018-11-19 20:12:57 +00:00
Mike Brady 0052389d1e Stop noisy mutex unlock 2018-11-19 19:43:17 +00:00
Mike Brady a2681ba04c Try to make the debug stuff pthread_cancel-proof including the debug / warn / inform / die and debug_mutex calls. Tidy up usage of program_stop. 2018-11-19 18:26:42 +00:00
Mike Brady d4435e2068 Try to make the debug stuff pthread_cancel-proof including the debug / warn / inform / die and debug_mutex calls. Tidy up usage of program_stop. 2018-11-19 18:26:03 +00:00
Mike Brady 7258b801c8 Add extra checks to look for a hang in TuneBlade 2018-11-19 15:35:47 +00:00
Mike Brady 6ad0b15ec0 Use pthread_cleanup to unlock alsa handle mutex. 2018-11-19 15:35:04 +00:00
Mike Brady 58a66ebb0e Make debuglev volatile, over player_vol past the cleanup push, add some temporary diagnostics. 2018-11-19 14:24:24 +00:00
Mike Brady 45c1c566ae Fix a logical error in buffer_get_frame that could cause an endless loop if an unready frame occurred during a flush. 2018-11-18 15:25:06 +00:00
Mike Brady d3ff806412 Put a timeout on the rtsp writeback call. 2018-11-16 10:05:37 +00:00
Mike Brady ca3c05f8b5 Fix silly issue with diagnostic code. 2018-11-14 17:31:39 +00:00
Mike Brady 99374ac113 Add a little diagnostic to see what's in the POST message.: 2018-11-14 17:21:30 +00:00
Mike Brady 29a37f44b9 Check timer values a bit more carefully and ignore crazy values. 2018-11-14 12:25:56 +00:00
Mike Brady 67083665ad Get more diagnostic messages when a TuneBlade-induced error occurs. 2018-11-13 11:00:05 +00:00
Mike Brady 501e349466 Add better error handling if a reply header message is faulty. 2018-11-12 16:41:29 +00:00
Mike BradyandGitHub 14993c6899 Merge pull request #768 from tillz/patch-1
Small logic fix -- ignore unrecognised commands.
2018-11-03 14:55:21 +00:00
Till ZimmermannandGitHub cb38e90e20 Small logic fix
Fixes #767
2018-11-03 14:34:12 +01:00
Mike BradyandGitHub dba48ddc35 Update README.md 2018-11-03 13:00:15 +00:00
Mike BradyandGitHub 48ab075a13 Update RELEASENOTES.md 2018-11-03 12:54:58 +00:00
Mike Brady 66e1dde37c Use "/dev/urandom" instead of "/dev/random" to generate a nonce for AirPlay passwords. 2018-11-03 12:47:55 +00:00
Mike Brady 2f1f259d03 Use "/dev/urandom" instead of "/dev/random" to generate a nonce for AirPlay passwords. 2018-11-03 12:46:17 +00:00
Mike Brady 203f02604d Improve build instruction to avoid rebuilding stuff when there has been no change. 2018-11-01 12:56:32 +00:00
Mike BradyandGitHub a8406cbb04 Merge pull request #766 from mikebrady/remove_duplicate_gdbus_codegen_calls
Tidy up a few things –
1. Stop duplicate gdbus codegen calls during parallel makes.
2. Remove a few unused functions in player.c.
2018-11-01 12:28:27 +00:00
Mike Brady 06c45c4970 Remove a few unused functions. 2018-11-01 11:28:22 +00:00
Mike Brady 35860f7bb4 Stop multiple calls to gdbus_codegen on parallel makes 2018-11-01 11:06:32 +00:00
Mike BradyandGitHub 8e0c52d822 Update RELEASENOTES.md 2018-11-01 09:03:52 +00:00
Mike BradyandGitHub ee6ffb54d5 Update configure.ac 2018-11-01 08:50:37 +00:00
Mike BradyandGitHub de62a112b1 Merge pull request #765 from mikebrady/use_disposable_libraries
1. Separate compilation of automatically generated code from regular code to avoid compiler warnings.

2. Reorder some header includes to avoid compilation errors in OpenBSD.

3. Add a few extra warnings to the `alsa` interface to check for failure to recover from errors.
2018-11-01 08:49:00 +00:00
Mike Brady cd71b3f727 Enhance error messages to warn if the alsa output device doesn't recover. 2018-10-31 16:33:16 +00:00
Mike Brady 8a6eb02d59 Chanmge order so that it will compile in openbsd. 2018-10-30 20:57:42 +00:00
Mike Brady 580d75a6ed Make the lib settings standard for all builds, not individual for Linux/FreeBSD/OpenBSD. Let's hope. 2018-10-30 19:58:34 +00:00
Mike Brady b91df8ec73 Start using libraries to be able to compile other people's or automatically generated sources using standard compilation settings. 2018-10-30 19:49:32 +00:00
Mike BradyandGitHub 3fbe2e60cd Merge pull request #762 from mikebrady/danger_will_rogers
Revamped timestamp calculation -- more robust behaviour with faulty networks
2018-10-30 12:50:17 +00:00
Mike Brady 4faa654ba9 Remove a signed/unsigned comparison warning 2018-10-28 14:20:22 +00:00
Mike Brady 3ae8c4e9bc Quieten an unnecessary debug message. 2018-10-23 12:15:00 +01:00