Commit Graph
4327 Commits
Author SHA1 Message Date
Mike Brady 8bee92a4e6 Clean up the statistics output to make it provide information for the stream type. Parameterise it so that it's a bit easier to manage. 2021-06-02 17:17:54 +01:00
Mike Brady 5b8d76cfbe When the master clock returns to what the real anchor clock is, the difference between the actual and estimate is calculated and logged. Might have to actually use it... 2021-06-01 22:30:31 +01:00
Mike Brady deeabbfbc5 Quieten a rather chatty message. 2021-06-01 15:24:31 +01:00
Mike Brady c5dafbd28b Remember the original anchor information so that if the master clock become equal to it in the future, it can be restored to those exact numbers and eliminate any intervening approximations. Add some diagnostics. 2021-06-01 14:51:17 +01:00
Mike Brady 7df6ff0a55 Exit if the requested output format is not available. 2021-06-01 09:51:14 +01:00
Mike Brady d4ea91aa65 Rough and hacky but works with the bit depth of the output DAC to automatically choose the correct AAC decoding sample size. Allocation of rotating buffers is fixed and profligate. 2021-06-01 08:56:47 +01:00
Mike Brady 1464c4ed04 Restore ability to compile without AIRPLAY-2 flag (duh). Begin to split player_play into player_prepare and player_play. 2021-05-31 17:12:20 +01:00
Mike Brady ac515bbfa3 Deal with the possibility that the anchor information can be changed suddenly at the start of a Buffered Audio play. If the anchor info changes before the local_anchor info is mature enough (5 seconds), invalidate the local anchor info to force it to be immediately updated with the new anchor info. 2021-05-31 09:49:15 +01:00
Mike Brady 5e498173e1 Add a little information and remove a little ambiguity from a diagnostic message about anchor and master clocks especially relevant in Realtime Audio streams. 2021-05-30 12:12:40 +01:00
Mike Brady 4b5e9787b7 Log information when anchor or master clock changes occur. 2021-05-30 12:04:06 +01:00
Mike Brady a109b587ec Flush seems to be working properly and reliably. Some audio glitches removed too by dropping the first two AAC blocks of any passage. Crude. Flush diagnostic linked list stuff left in place. 2021-05-30 11:17:06 +01:00
Mike Brady 2ea28c0661 Much better flushing. Delayed flushing only works for one delay. Noice artifacts removed when skipping. Pretty solid. 2021-05-29 21:24:33 +01:00
Mike Brady 7c68f97d7f flaky but some interesting stuff 2021-05-29 15:59:11 +01:00
Mike Brady 9cf4ef032d Improving the flush behaviour. 2021-05-29 10:54:44 +01:00
Mike Brady 2986b282d3 Does pretty well with flushing. Sometimes misses a flush on a repeat one. 2021-05-28 22:20:11 +01:00
Mike Brady e258cca33a recognise two types of flush -- one with from and until information, the other with just until information. A flush with "with" information is not followed by a new set anchor, whereas a flush without the " with" information is alwasy followed by a new setanchor. 2021-05-28 19:16:37 +01:00
Mike Brady 9b5bbbf361 Merge branch 'development' of github.com:aillwee/shairport-sync into development
Forgot web updates
2021-05-27 08:32:24 +01:00
Mike Brady f4ba81ec5f remove redundant item 2021-05-26 19:36:31 +01:00
Mike Brady 637c8132e9 Move initial delay when using a new bus master to rtp.c and wait, if possible, whenever a new master comes along, to allow it to settle before using it. 2021-05-26 18:12:45 +01:00
Mike Brady 26ce13d511 a slightly more rational clock handling regime, I hope. Wait for 400 ms when a clock becomes master. Wait five seconds when you get a new master clock. 2021-05-26 16:48:25 +01:00
Mike BradyandGitHub c8fca686bd Merge pull request #16 from aillwee/charles-dev
Updated docker image to use COPY instead of git clone.
2021-05-24 15:41:40 +01:00
Charles 9d9c51d765 Removed .conf file. 2021-05-24 13:55:07 +01:00
Mike Brady e1034e1131 Advertise the _raop._tcp service as well as the _airplay._tcp service. Use a real MAC as the basis for the device ID. 2021-05-24 12:07:05 +01:00
Mike Brady 3143e9983a Updates to pair_ap 2021-05-23 10:13:14 +01:00
Charles a6187fed12 Test. 2021-05-22 12:47:14 +01:00
Charles 87ee2aea8e Adding back branch specification just in case. 2021-05-20 13:10:23 +01:00
Charles 38ad90d410 Never mind, GitHub actions default to trigger branch. 2021-05-20 12:45:38 +01:00
Charles b0b6500a37 Added branch switching for SPS docker build. 2021-05-20 12:42:58 +01:00
Charles aa8fcbe7c8 Add information about git branch. 2021-05-20 12:22:23 +01:00
Charles 10aac5e5fc Test copying SPS directory instead of cloning. 2021-05-20 12:11:59 +01:00
Charles 7aa8aefa8a Merge branch 'development' of github.com:aillwee/shairport-sync into charles-dev 2021-05-20 11:51:54 +01:00
Charles bca004f7d1 Moved autoreconf. 2021-05-20 11:49:19 +01:00
Mike Brady 77e70e497f tighten up on the availability of a clock before feeding audio into the player. 2021-05-16 13:02:19 +01:00
Mike Brady c645a03946 handle volume control requests in AP2 correctly. Don't reset timing peer lists when buffered audio is paused. 2021-05-15 12:18:37 +01:00
Mike Brady 2203d6a335 Start using automatic git-based versioning 2021-05-14 22:49:17 +01:00
Mike Brady 661b2e0238 Merge branch 'development' of github.com:aillwee/shairport-sync into development
Documentation Update
2021-05-14 22:38:56 +01:00
CharlesandGitHub 7071f6508b Merge pull request #8 from aillwee/charles-dev
Smaller docker image & GitHub action change.
2021-05-14 16:57:33 +01:00
Mike Brady 056b37020c Was 4.0d4 with some extras. Moving to git-based semantic versioning. 2021-05-14 14:23:10 +01:00
Mike Brady db6cadb05c Always update the systemd shairport-sync.service file. 2021-05-14 12:26:25 +01:00
Charles 9befac625c Merge branch 'development' of github.com:aillwee/shairport-sync into charles-dev 2021-05-13 21:24:31 +01:00
Mike Brady c8e45b3206 Bump for changes to missing clock and flushing. 2021-05-13 21:16:58 +01:00
Mike Brady 7592e237d8 quieten a debug message 2021-05-13 21:07:56 +01:00
Mike Brady e41795f4da clang 2021-05-13 20:59:38 +01:00
Mike Brady c7bdc2c409 Tidy up a message. 2021-05-13 20:58:03 +01:00
Mike Brady 2180c7147f If a PTP clock isn't available, use existing timing data if it's still valid. 2021-05-13 20:12:12 +01:00
Mike Brady bb226a4184 fix flush of a large sync error, hopefully. 2021-05-13 20:10:38 +01:00
Charles 9f6f88d8d0 Smaller docker image & action change. 2021-05-13 02:45:29 +01:00
Mike Brady a3a7fb4849 ask for at least 50 ms of a lead-in for buffered audio. 2021-05-12 11:32:18 +01:00
Mike Brady fcf5c7f8d3 clang 2021-05-12 11:00:41 +01:00
Mike Brady 4a0849b942 Fix a compilation bug and quieten a debug message. 2021-05-12 11:00:09 +01:00