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 Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
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 Brady and GitHub
0ad9d3d85e
Update RELEASENOTES-DEVELOPMENT.md
2020-04-15 14:59:16 +01:00
Mike Brady and GitHub
ca72b570df
Update RELEASENOTES-DEVELOPMENT.md
2020-04-15 14:57:39 +01:00
Mike Brady and GitHub
13794352b2
Update RELEASENOTES-DEVELOPMENT.md
2020-03-31 14:40:18 +01:00
Mike Brady and GitHub
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 Brady and GitHub
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
Mike Brady
1b7e23c093
Add ability to set the missing DACP port scan interval.
2020-03-25 10:40:05 +00:00
Mike Brady and GitHub
31f5e8b9ca
Update RELEASENOTES-DEVELOPMENT.md
2020-03-25 10:31:19 +00:00
Mike Brady
ff3cef4471
If the DACP port is zero, do a zeroconf re-broswe every two seconds in case it has been missed.
2020-03-25 10:17:39 +00:00
Mike Brady
a6acb6062a
If the DACP port is zero, do a zeroconf re-broswe every two seconds in case it has been missed.
2020-03-25 10:16:21 +00:00
Mike Brady
218a4385f4
Tidy up timed mutex messages.
2020-03-24 15:57:16 +00:00
Mike Brady
4634ca9e75
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
...
Forgot documentation update.
2020-02-25 16:14:34 +00:00
Mike Brady
db34ec8d3c
Move from fixed-point 64-bit timing to unsigned nanosecond timing
2020-02-25 16:13:39 +00:00
Mike Brady and GitHub
514a21e911
Update RELEASENOTES-DEVELOPMENT.md
2020-02-25 16:04:55 +00:00
Mike Brady
e1028b2c89
Hide get_absolute_time_in_fp as it is now obselete
2020-02-25 15:56:53 +00:00
Mike Brady
c2655b0388
Use nanosecond time in audio_sndio
2020-02-25 15:53:56 +00:00
Mike Brady
8bd6d8d45f
Fix calculation of initial delay
2020-02-25 14:44:13 +00:00
Mike Brady
40289ca6d3
functional with full removal of get_absolute_time_fp() but not quite starting correctly
2020-02-24 22:23:08 +00:00
Mike Brady
32427423af
update packet reception statistics to use nanosecond timing
2020-02-24 19:58:35 +00:00
Mike Brady
67e9b1b6cd
partial move to using a nanosecond-based system timer. More to come.
2020-02-24 19:40:44 +00:00
Mike Brady
820ee1c9f2
Add a call to get the time in nanoseconds.
2020-02-23 11:46:07 +00:00
Mike Brady
1f52693884
This is 3.3.6 with some documentation updates and a tiny edit
2020-02-22 18:25:14 +00:00
Mike Brady
ebb1d69ce0
Remove a redundant comparison
2020-02-22 18:24:57 +00:00
Mike Brady
ab7cc63e78
This is 3.3.6 with some documentation updates
2020-02-22 18:24:33 +00:00
Mike Brady and GitHub
9590d7985a
Update OPENBSD.md
2020-02-22 17:59:18 +00:00
Mike Brady and GitHub
528b5141ac
Update FREEBSD.md
2020-02-21 13:36:07 +00:00
Mike Brady and GitHub
d8debfc4e8
Update RELEASENOTES.md
2020-02-20 22:56:57 +00:00
Mike Brady and GitHub
15fd1d05f0
Update RELEASENOTES.md
2020-02-20 22:50:29 +00:00