Commit Graph
4005 Commits
Author SHA1 Message Date
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
Mike Brady 1b7e23c093 Add ability to set the missing DACP port scan interval. 2020-03-25 10:40:05 +00:00
Mike BradyandGitHub 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 BradyandGitHub 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 BradyandGitHub 9590d7985a Update OPENBSD.md 2020-02-22 17:59:18 +00:00
Mike BradyandGitHub 528b5141ac Update FREEBSD.md 2020-02-21 13:36:07 +00:00
Mike BradyandGitHub d8debfc4e8 Update RELEASENOTES.md 2020-02-20 22:56:57 +00:00
Mike BradyandGitHub 15fd1d05f0 Update RELEASENOTES.md 2020-02-20 22:50:29 +00:00
Mike BradyandGitHub f4c2263e44 Update shairport-sync.spec 2020-02-20 22:28:49 +00:00
Mike BradyandGitHub 20ca91d016 Update RELEASENOTES-DEVELOPMENT.md 2020-02-20 22:26:04 +00:00
Mike Brady 02224666da Squashed commit of the following:
Don't use strndup as old versions of OpenWrt don't seem to have it
    Update FREEBSD.md
    Fix comparison between old and new metadata strings by checking they have equal lengths as well.
    Remove a redundant definition to prevent use on an uninitialised copy, clean up some of the less-used backends
    Remove some unwanted and unused variable declarations from audio_dummy.c and audio_soundio.c
    Add the -fno-common flag to compilation.
    Treat the "mper" attribute as the 64-bit item that it is rather than a 32-bit item as hithereto. Output it as a hexadecimal number to correspond with the format of the track id obtained from AppleScript
    Make changes to that it compiles under gcc-10 with -fno-common
    Add a SIGCHLD handler to reap zombie processes generated after script invocations where wait_for_completion is set to "no".
    Update and rename CONTRIBUTING.md to REPORTING ISSUES.md
    Add a few more commands and clarify some text.
    Change from talking about a server to talking about a client. Technically, e.g. iTunes is a client of Shairport Sync.
    Store the UserAgent so as to recognise forked-daapd so as to always send a revision_number of 1 when asking for playerstatus of forked-daapd.
    Add or update some of the copyright notices
    Add the ability to set the volume directly to the D-Bus RemoteControl interface and to the MPRIS interface. Both use the recently-discovered ability to set the device_volume.
    Merge in Pieter De Gendt's work on resampling on the jack backend.
    Merge pull request #939 from pdgendt/feature/jack-soxr-resampling
    Add SetAirplayVolume to the D-Bus RemoteControl interface.
    Add SetVolume to the MPRIS interface.
    Hook up the Volume property in the MPRIS interface.
    Modify RemoteCommand in the D-Bus interface to return the HTTP status and response.
    Change the type of airplay_volume from int to double in the metadata hub.
    Add a few sample commands in the D-Bus document.
2020-02-20 21:32:35 +00:00
Mike BradyandGitHub db12e0a8e3 Update RELEASENOTES-DEVELOPMENT.md 2020-02-20 21:25:16 +00:00
Mike Brady d6c6e8c1b7 Don't use strndup as old versions of OpenWrt don't seem to have it 2020-02-20 18:24:32 +00:00
Mike Brady d673f274cb Don't use strndup as old versions of OpenWrt don't seem to have it 2020-02-20 18:24:04 +00:00
Mike BradyandGitHub 4fc161cf0c Update RELEASENOTES-DEVELOPMENT.md 2020-02-19 20:18:09 +00:00
Mike BradyandGitHub 6c9177a778 Update RELEASENOTES-DEVELOPMENT.md 2020-02-19 14:35:50 +00:00