Commit Graph
3229 Commits
Author SHA1 Message Date
Mike BradyandGitHub 87f3de2e9d Update RELEASENOTES.md 2018-12-12 22:21:40 +00:00
Mike Brady a8fe3bd13b Remove connection with common.h -- works properly. 2018-12-12 22:07:55 +00:00
Mike Brady 5645ddde99 Fix a compilation error w.r.t. debuglev and fix a complation warning. 2018-12-12 21:46:59 +00:00
Mike Brady b40b80247f Fix a compilation error w.r.t. debuglev and fix a complation warning. 2018-12-12 21:21:54 +00:00
Mike BradyandGitHub 307d9c3b64 Update RELEASENOTES.md 2018-12-12 14:50:25 +00:00
Mike BradyandGitHub 3cb427338b Update RELEASENOTES.md 2018-12-12 14:49:37 +00:00
Mike BradyandGitHub 530b9501bd Update RELEASENOTES.md 2018-12-11 17:07:16 +00:00
Mike BradyandGitHub eb5046593c Update RELEASENOTES.md 2018-12-11 17:05:12 +00:00
Mike BradyandGitHub c9211ef239 Update RELEASENOTES.md 2018-12-11 16:42:55 +00:00
Mike Brady dad5e28208 Stay with the standard delay call for the present time. 2018-12-11 16:25:53 +00:00
Mike Brady 3535863689 Cleaned up unfixable errors code and examples, updated configuration settings. 2018-12-11 11:28:08 +00:00
Mike Brady e454572dc7 Further debug tidy-ups and update the configuration file. 2018-12-11 11:26:39 +00:00
Mike Brady 45ce909214 Tidy up some debug messages and warnings, remove old diagnostic codes and settings. 2018-12-11 10:56:36 +00:00
Mike Brady 9d5ff22f2d Connect up the stall response to the external command calling -- add a single argument to the unfixable error call. 2018-12-10 22:28:52 +00:00
Mike Brady 079db2eba8 Set stall threshold to 200 ms. 2018-12-10 12:38:48 +00:00
Mike Brady 46a13dce40 Add stall detection to the alsa subsystem. 2018-12-10 10:50:08 +00:00
Mike Brady ea11547095 add delay to debug output. 2018-12-09 08:58:47 +00:00
Mike Brady 7c42050847 Get timings of play / flush / delay calls. 2018-12-09 08:45:10 +00:00
Mike Brady df61f80607 Time opening of the device 2018-12-08 22:30:34 +00:00
Mike Brady 72079adaf4 Initial shot at tidying up the avahi monitoring for DACP Id port information to make it survive abnormal temrination of play sessions. 2018-12-08 21:55:49 +00:00
Mike Brady 12611b5521 Fix small error in uncancellable sleep -- it was calling itself! 2018-12-08 17:48:47 +00:00
Mike Brady f20fa4f1c2 Fix RTSP timeout and add timing checks for interfacing with the ALSA subsystem. Add entries to the configuration file. 2018-12-08 14:37:36 +00:00
Mike Brady c5919825d4 Small changes in unstable.
Merge branch 'unstable' into development
2018-12-08 14:26:08 +00:00
Mike Brady 697d654b41 Make the idle timeout on the RTSP link the same as the overall timeout -- 30 seconds is a bit short. Add checks to the alsa interface timing -- 15 ms to write a packet of frames, 1 ms to ask for the delay. 2018-12-08 14:13:04 +00:00
Mike Brady e5452e5172 Make the idle timeout on the RTSP link the same as the overall timeout -- 30 seconds is a bit short. Add checks to the alsa interface timing -- 15 ms to write a packet of frames, 1 ms to ask for the delay. 2018-12-08 14:12:33 +00:00
Mike Brady 50700b46a5 Add timing to writing to the DAC 2018-12-08 12:58:01 +00:00
Mike BradyandGitHub f1dc4fece6 Update RELEASENOTES.md 2018-12-07 12:38:12 +00:00
Mike BradyandGitHub 9d2571724b Update RELEASENOTES.md 2018-12-07 12:28:20 +00:00
Mike BradyandGitHub e3dcae7514 Update RELEASENOTES.md 2018-12-07 12:25:50 +00:00
Mike Brady 5ff19c391a Bring it up to date with what's happened in development.
Merge branch 'development' into unstable
2018-12-06 16:08:39 +00:00
Mike Brady 53c17276db Continue to use the ordinary snd_pcm_delay call. 2018-12-06 15:39:19 +00:00
Mike Brady 4cc12bdc6d Add the ability to call a program if an unfixable error is detected. The only unfixialbe error at present is then a play session can't be cancelled.
Merge branch 'more_danger' into development
2018-12-06 14:49:36 +00:00
Mike Brady a2e7cb34fb The run_this_if_an_unfixable_error_is_detected script is definitely working and can restart the device. A sudoers entry is necessary to allow the shairport-sync user to 'sudo reboot --no-wall' without needing a password. 2018-12-06 14:46:57 +00:00
Mike Brady b071d39834 Ensure watchdog always starts with the starting time of the thread. Add watchdog bark count. On the third bark, execute an unfixable error script if present. 2018-12-04 17:25:40 +00:00
Mike Brady 277d401d24 Ensure watchdog always starts with the starting time of the thread. Add watchdog bark count. On the third bark, execute an unfixable error script if present. 2018-12-04 17:25:15 +00:00
Mike Brady 9ddef563ad Shorten the delays to 100 ms 2018-12-04 08:56:29 +00:00
Mike Brady 67d2a4b5d9 Add a 30 second timout on the read function on an RTSP thread. 2018-12-03 18:42:49 +00:00
Mike Brady 78da7c453c Make the stop requester volatile, duh. 2018-12-03 18:01:54 +00:00
Mike Brady 60315b63c9 Try to ensure that any alsa command sequences are uncancellable. Leave a little time afterwards where possible. 2018-12-03 17:00:12 +00:00
Mike Brady 4bb29bc198 Make sure that shared watchdog count is correctly updated in the rtsp_conn_info structure! 2018-12-03 16:52:32 +00:00
Mike Brady e49707e051 Ensure no pthread cancellation can occur during an ALSA-related call. 2018-12-03 12:44:57 +00:00
Mike Brady 038dee01ba Fix an error caused by using an unsigned integer as a signed number. It may have been causing lots of conversation threads to wait for the (blocked) current playing thread to exit. 2018-12-03 10:33:29 +00:00
Mike Brady 8c9b159011 Stop using an unsigned integer for time when we want to watch if it goes negative. Only release the playing_conn if we already own it! 2018-12-02 18:13:20 +00:00
Mike Brady 898aad1619 Merge branch 'unstable' into development 2018-12-01 17:14:36 +00:00
Mike Brady 3644300db1 Fix a non-initialisation of parameters if no h/w mixer used. Add a few diagnostics, tidy up initial diagnostic message, add verbosity level and whether mixer used. 2018-12-01 17:13:20 +00:00
Mike Brady 2737222b0b Fix a non-initialisation of parameters if no h/w mixer used. Add a few diagnostics, tidy up initial diagnostic message, add verbosity level and whether mixer used. 2018-12-01 16:52:23 +00:00
Mike Brady a5c65ceced Move UDP port cloure to the RTSP thread, don't allow calls to mdns_* to be cancelled. Remove usage of (p)select in rtsp thread handling. 2018-11-30 14:55:04 +00:00
Mike Brady 0eac2b9cb3 Move closing of ports to the player thread cleanup. They can be bound without the UDP threads ever having been called, so they must be closed when the player thread exits. 2018-11-29 22:03:49 +00:00
Mike Brady f2a3ba00cc Move cleanup push to start of RTSP initialisation. Take more care at startup and closedown to make stuff uncancellable. 2018-11-29 17:14:40 +00:00
Mike Brady 4a5b0009a4 Quieten a debug message 2018-11-29 17:13:12 +00:00