Commit Graph
3243 Commits
Author SHA1 Message Date
Mike Brady 57e9619e5b Don't add dither if volume control is set to max. 2018-12-17 13:14:40 +00:00
Mike Brady 4db9c117a2 use dither if using software mixer (i.e. no hardware mixer and not ignoring the volume control) -- fix a mistake in accounting for the ignore_volume_control setting. 2018-12-17 11:31:28 +00:00
Mike Brady 14e867a66b use dither if using software mixer (i.e. no hardware mixer and not ignoring the volume control) -- fix a mistake in accounting for the ignore_volume_control setting. 2018-12-17 11:30:23 +00:00
Mike BradyandGitHub aa2e2c3d24 Update RELEASENOTES.md 2018-12-15 17:50:01 +00:00
Mike Brady 4ba0947ddb Move the keep_dac_busy in to a configuration setting. Always start the keep_dac_busy thread and check if the keep_dac_busy is set. Don't dither is ignore volume control is set. 2018-12-15 15:36:44 +00:00
Mike BradyandGitHub efa592db41 Update RELEASENOTES.md 2018-12-14 16:10:09 +00:00
Mike BradyandGitHub c20fc79a6e Update RELEASENOTES.md 2018-12-14 16:07:50 +00:00
Mike Brady 7708ee3cdf Bring in the "disable_standby_mode" feature on alsa to stop some DACs making popping noises. Fix dither generation. 2018-12-14 15:28:32 +00:00
Mike Brady e6c3ddb9bf Fix dither, add dither to silences during lead-in, interpolatied frames and keeping out of standby, only if the output device doesn't use a mixer. Check configuration at initialisation. 2018-12-14 15:07:38 +00:00
Mike Brady 4046c0e73d Fix dither, add dither to silences during lead-in, interpolatied frames and keeping out of standby, only if the output device doesn't use a mixer. Check configuration at initialisation. 2018-12-14 15:07:00 +00:00
Mike Brady 5dd9fbc4fb Don't drop the audio during a flush -- it creates a clunk. 2018-12-13 16:59:18 +00:00
Mike BradyandGitHub bbc0ea1ab9 Update shairport-sync.conf 2018-12-13 15:42:51 +00:00
Mike Brady b0fe51788e Experimentally, add the ability to prevent the DAC making popping noises by feeding it with silence instead of allowing it to stop. 2018-12-13 14:48:21 +00:00
Mike Brady 7cc434e989 Experimentally, add the ability to prevent the DAC making popping noises by feeding it with silence instead of allowing it to stop. 2018-12-13 14:47:52 +00:00
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