Commit Graph
4035 Commits
Author SHA1 Message Date
Mike Brady 16ecb5f378 debug mods 2020-05-28 17:41:49 +01:00
Mike Brady 79c16c3236 debug mods 2020-05-28 17:14:34 +01:00
Mike Brady f27c5aebff debug mods 2020-05-28 17:01:26 +01:00
Mike Brady 0988ce536c debug mods 2020-05-28 16:38:48 +01:00
Mike Brady c099105a57 Add a really wacky debug message 2020-05-28 16:15:15 +01:00
Mike Brady 9ae649fa9a change some debugging messages 2020-05-28 15:39:10 +01:00
Mike Brady e681f47c8c Add the ability to direct logs etc. to a file or pipe. 2020-05-28 12:20:41 +01:00
Mike Brady c0e5d0473e Add the ability to direct logs etc. to a file or pipe. 2020-05-28 12:19:59 +01:00
Mike Brady 6406c296f5 Add setting to direct logs to syslog, STDERR or STDOUT 2020-05-27 16:21:35 +01:00
Mike Brady 2d7ae4bce9 Add the beggings of a hacky check on the metadata modification lock. 2020-05-27 15:26:08 +01:00
Mike Brady 9e34b1334b Stop using home-brew non-blocking write. Instead, having opened the pipe non-blocking, change to blocking. 2020-05-27 15:02:49 +01:00
Mike Brady e0faaeaefa Edit some of the man page 2020-05-25 15:30:07 +01:00
Mike Brady ba4b6b66c6 Brown bag 2020-05-25 14:56:33 +01:00
Mike Brady 76c4947d64 rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe. 2020-05-25 12:50:48 +01:00
Mike Brady 2474476c9c Forgot online changes to documentation.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
2020-05-25 12:48:51 +01:00
Mike Brady e8ef0e9371 rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe. 2020-05-25 12:48:39 +01:00
Mike Brady 58ae9454c5 Slight edits to the man file. 2020-05-25 08:44:16 +01:00
Mike Brady c1f973dde7 Remove the fsync calls from stdout and pipe backends. Slight edits to man file. 2020-05-24 19:47:04 +01:00
Mike BradyandGitHub b0164820ad Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:18:15 +01:00
Mike BradyandGitHub d8039d1d88 Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:07:04 +01:00
Mike BradyandGitHub 5e65976eed Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:06:06 +01:00
Mike BradyandGitHub 5b8a8c879e Update RELEASENOTES-DEVELOPMENT.md 2020-05-24 10:05:42 +01:00
Mike Brady 9280e1430b Clean up statistics display for backends with no sync. Flush pipe and stdout backends when play stops. 2020-05-24 09:45:03 +01:00
Mike BradyandGitHub 5b24dddecd Update RELEASENOTES-DEVELOPMENT.md 2020-05-23 20:33:50 +01:00
Mike Brady 759b87f2a2 Move the statistics array from the stack into the heap. 2020-05-23 20:31:54 +01:00
Mike BradyandGitHub 1945cd0b7f Update RELEASENOTES-DEVELOPMENT.md 2020-05-23 14:26:52 +01:00
Mike Brady 4f5ff881a5 Tidy up some of the modulo arithmetic stuff, including tidying up how to deal with out-of-order packet arrival. 2020-05-23 13:54:21 +01:00
Mike Brady 034dd53af5 Calculate the delay and sync error modulo the output frame numbers. Duh! A long-standing bug. 2020-05-23 10:18:23 +01:00
Mike BradyandGitHub 923a4f0a3c Update RELEASENOTES-DEVELOPMENT.md 2020-05-18 17:25:09 +01:00
Mike Brady 89e99f28a5 Improve initial sync calculations, even with short (0.3 sec) silent lead-in times. 2020-05-18 17:00:56 +01:00
Mike Brady 54d761ff7d Clean up some of the wording and layout of the configuration file
Clean up and improve the way lead-in sillence is used to give a more accurate sync time to the first packet of audio.
Allow very good sync to occur with 0.3 seconds of lead-in silence.
Improve the use of the buffer offset.
Format some other files.
2020-05-18 16:55:09 +01:00
Mike Brady 012dd26c77 Add the ability to set the silent lead-in parameters initial_period, minimum number of adjustments and adjustment interval, and give them sensible defaults. 2020-05-17 12:48:25 +01:00
Mike Brady bca704d5b7 Quieten a few debug messages. 2020-05-16 12:54:18 +01:00
Mike Brady 18749bc315 Add brief message about finding ALSA devices. 2020-05-16 12:49:00 +01:00
Mike BradyandGitHub e8831f6850 Update RELEASENOTES-DEVELOPMENT.md 2020-05-16 12:35:31 +01:00
Mike Brady e58ab7e23b Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot!
2020-05-16 12:25:52 +01:00
Mike BradyandGitHub 07d956c014 Update RELEASENOTES-DEVELOPMENT.md 2020-05-16 12:25:27 +01:00
Mike Brady a4edc649f8 Add code to do calculations involving the audio_backend_latency_offset_in_seconds and audio_backend_silent_lead_in_time settings correctly. Clean up the audio_backend_silent_lead_in_time setting by adding an "auto" setting. 2020-05-16 12:23:08 +01:00
Mike Brady 14d75679be Fix calculation of latency -- honour the signs of the offset and account for the DAC buffer size. 2020-05-14 20:45:52 +01:00
Mike Brady 72d7153529 Fix calculation of latency -- honour the signs of the offset and account for the DAC buffer size. 2020-05-14 19:51:32 +01:00
Mike BradyandGitHub 9bcad435bb Merge pull request #1001 from mill1000/negative_offset_fix
Use signed integers to prevent truncation of negative backend offset.
2020-05-14 19:11:35 +01:00
Tucker Kern f0f6276d64 Use signed integers when calculating backend latency adjustment 2020-04-27 15:25:46 -06:00
Mike BradyandGitHub 0ad9d3d85e Update RELEASENOTES-DEVELOPMENT.md 2020-04-15 14:59:16 +01:00
Mike BradyandGitHub ca72b570df Update RELEASENOTES-DEVELOPMENT.md 2020-04-15 14:57:39 +01:00
Mike BradyandGitHub 13794352b2 Update RELEASENOTES-DEVELOPMENT.md 2020-03-31 14:40:18 +01:00
Mike BradyandGitHub bf36012384 Merge pull request #988 from grevaillot/to_merge-pa_server
Allow to specify pulseaudio server instead of using default one.
2020-03-31 13:22:27 +01:00
Guillaume Revaillot aacc4e802b Allow to specify pulseaudio server instead of using default one.
Add "server" entry to pa config section, allowing to connect to a remote or a local system
pulseaudio instance instead of letting pulseaudio choose.
2020-03-27 09:39:11 +01:00
Mike BradyandGitHub 4eaf23aa22 Update RELEASENOTES-DEVELOPMENT.md 2020-03-26 17:11:31 +00:00
Mike Brady 1f9be7d6aa Remove leading zeroes from the DACP ID provided by mDNS 2020-03-26 17:04:25 +00:00
Mike Brady eef6bbf983 Remove leading zeroes from the DACP ID provided by mDNS 2020-03-26 17:03:53 +00:00