]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
4 years agoExit immediately if the speed or format cannot be set.
Mike Brady [Sun, 6 Jun 2021 14:48:09 +0000 (15:48 +0100)] 
Exit immediately if the speed or format cannot be set.

4 years agoMove the activity monitor calls to enable active mode correctly for buffered audio.
Mike Brady [Fri, 4 Jun 2021 08:42:31 +0000 (09:42 +0100)] 
Move the activity monitor calls to enable active mode correctly for buffered audio.

4 years agoAdd some comments and a new debug message about underrun
Mike Brady [Fri, 4 Jun 2021 08:41:15 +0000 (09:41 +0100)] 
Add some comments and a new debug message about underrun

4 years agochange some debug messages
Mike Brady [Fri, 4 Jun 2021 08:40:24 +0000 (09:40 +0100)] 
change some debug messages

4 years agoUpdated docker build action.
Charles [Thu, 3 Jun 2021 23:50:52 +0000 (00:50 +0100)] 
Updated docker build action.

4 years agoUpdates to docker build process.
Charles [Thu, 3 Jun 2021 16:38:33 +0000 (17:38 +0100)] 
Updates to docker build process.

4 years agoUpdated readme.
Charles [Thu, 3 Jun 2021 15:46:31 +0000 (16:46 +0100)] 
Updated readme.

4 years agoAlign some of the statistics better.
Mike Brady [Thu, 3 Jun 2021 08:52:38 +0000 (09:52 +0100)] 
Align some of the statistics better.

4 years agoQuieten a debug message.
Mike Brady [Thu, 3 Jun 2021 08:52:05 +0000 (09:52 +0100)] 
Quieten a debug message.

4 years agoShorten some arbitrary delays, quieten some debug messages, add (and comment out...
Mike Brady [Thu, 3 Jun 2021 08:24:26 +0000 (09:24 +0100)] 
Shorten some arbitrary delays, quieten some debug messages, add (and comment out) disgnostic code to introduce a timing error. Make the buffer size 0.4 sec -- so that if a timing error of 150 ms is detected, enough frames are immediately available to be used.

4 years agoAdd 100 ms to the amount to flush after a large positive sync error to give the syste...
Mike Brady [Thu, 3 Jun 2021 08:21:14 +0000 (09:21 +0100)] 
Add 100 ms to the amount to flush after a large positive sync error to give the system a better chance to recover in one attempt.

4 years agoClean up the statistics output to make it provide information for the stream type...
Mike Brady [Wed, 2 Jun 2021 16:17:54 +0000 (17:17 +0100)] 
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.

4 years agoWhen the master clock returns to what the real anchor clock is, the difference betwee...
Mike Brady [Tue, 1 Jun 2021 21:30:31 +0000 (22:30 +0100)] 
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...

4 years agoQuieten a rather chatty message.
Mike Brady [Tue, 1 Jun 2021 14:24:31 +0000 (15:24 +0100)] 
Quieten a rather chatty message.

4 years agoRemember the original anchor information so that if the master clock become equal...
Mike Brady [Tue, 1 Jun 2021 13:51:17 +0000 (14:51 +0100)] 
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.

4 years agoExit if the requested output format is not available.
Mike Brady [Tue, 1 Jun 2021 08:51:14 +0000 (09:51 +0100)] 
Exit if the requested output format is not available.

4 years agoRough and hacky but works with the bit depth of the output DAC to automatically choos...
Mike Brady [Tue, 1 Jun 2021 07:56:47 +0000 (08:56 +0100)] 
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.

4 years agoRestore ability to compile without AIRPLAY-2 flag (duh). Begin to split player_play...
Mike Brady [Mon, 31 May 2021 16:12:20 +0000 (17:12 +0100)] 
Restore ability to compile without AIRPLAY-2 flag (duh). Begin to split player_play into player_prepare and player_play.

4 years agoDeal with the possibility that the anchor information can be changed suddenly at...
Mike Brady [Mon, 31 May 2021 08:49:15 +0000 (09:49 +0100)] 
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.

4 years agoAdd a little information and remove a little ambiguity from a diagnostic message...
Mike Brady [Sun, 30 May 2021 11:12:40 +0000 (12:12 +0100)] 
Add a little information and remove a little ambiguity from a diagnostic message about anchor and master clocks especially relevant in Realtime Audio streams.

4 years agoLog information when anchor or master clock changes occur.
Mike Brady [Sun, 30 May 2021 11:04:06 +0000 (12:04 +0100)] 
Log information when anchor or master clock changes occur.

4 years agoFlush seems to be working properly and reliably. Some audio glitches removed too...
Mike Brady [Sun, 30 May 2021 10:17:06 +0000 (11:17 +0100)] 
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.

4 years agoMuch better flushing. Delayed flushing only works for one delay. Noice artifacts...
Mike Brady [Sat, 29 May 2021 20:24:33 +0000 (21:24 +0100)] 
Much better flushing. Delayed flushing only works for one delay. Noice artifacts removed when skipping. Pretty solid.

4 years agoflaky but some interesting stuff
Mike Brady [Sat, 29 May 2021 14:59:11 +0000 (15:59 +0100)] 
flaky but some interesting stuff

4 years agoImproving the flush behaviour.
Mike Brady [Sat, 29 May 2021 09:54:44 +0000 (10:54 +0100)] 
Improving the flush behaviour.

4 years agoDoes pretty well with flushing. Sometimes misses a flush on a repeat one.
Mike Brady [Fri, 28 May 2021 21:20:11 +0000 (22:20 +0100)] 
Does pretty well with flushing. Sometimes misses a flush on a repeat one.

4 years agorecognise two types of flush -- one with from and until information, the other with...
Mike Brady [Fri, 28 May 2021 18:16:37 +0000 (19:16 +0100)] 
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.

4 years agoMerge branch 'development' of github.com:aillwee/shairport-sync into development
Mike Brady [Thu, 27 May 2021 07:32:24 +0000 (08:32 +0100)] 
Merge branch 'development' of github.com:aillwee/shairport-sync into development

Forgot web updates

4 years agoremove redundant item
Mike Brady [Wed, 26 May 2021 18:36:31 +0000 (19:36 +0100)] 
remove redundant item

4 years agoMove initial delay when using a new bus master to rtp.c and wait, if possible, whenev...
Mike Brady [Wed, 26 May 2021 17:12:45 +0000 (18:12 +0100)] 
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.

4 years agoa slightly more rational clock handling regime, I hope. Wait for 400 ms when a clock...
Mike Brady [Wed, 26 May 2021 15:48:25 +0000 (16:48 +0100)] 
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.

4 years agoMerge pull request #16 from aillwee/charles-dev
Mike Brady [Mon, 24 May 2021 14:41:40 +0000 (15:41 +0100)] 
Merge pull request #16 from aillwee/charles-dev

Updated docker image to use COPY instead of git clone.

4 years agoRemoved .conf file.
Charles [Mon, 24 May 2021 12:55:07 +0000 (13:55 +0100)] 
Removed .conf file.

4 years agoAdvertise the _raop._tcp service as well as the _airplay._tcp service. Use a real...
Mike Brady [Mon, 24 May 2021 11:07:05 +0000 (12:07 +0100)] 
Advertise the _raop._tcp service as well as the _airplay._tcp service. Use a real MAC as the basis for the device ID.

4 years agoUpdates to pair_ap
Mike Brady [Sun, 23 May 2021 09:13:14 +0000 (10:13 +0100)] 
Updates to pair_ap

4 years agoTest.
Charles [Sat, 22 May 2021 11:47:14 +0000 (12:47 +0100)] 
Test.

4 years agoAdding back branch specification just in case.
Charles [Thu, 20 May 2021 12:10:23 +0000 (13:10 +0100)] 
Adding back branch specification just in case.

4 years agoNever mind, GitHub actions default to trigger branch.
Charles [Thu, 20 May 2021 11:45:38 +0000 (12:45 +0100)] 
Never mind, GitHub actions default to trigger branch.

4 years agoAdded branch switching for SPS docker build.
Charles [Thu, 20 May 2021 11:42:58 +0000 (12:42 +0100)] 
Added branch switching for SPS docker build.

4 years agoAdd information about git branch.
Charles [Thu, 20 May 2021 11:22:23 +0000 (12:22 +0100)] 
Add information about git branch.

4 years agoTest copying SPS directory instead of cloning.
Charles [Thu, 20 May 2021 11:11:59 +0000 (12:11 +0100)] 
Test copying SPS directory instead of cloning.

4 years agoMerge branch 'development' of github.com:aillwee/shairport-sync into charles-dev
Charles [Thu, 20 May 2021 10:51:54 +0000 (11:51 +0100)] 
Merge branch 'development' of github.com:aillwee/shairport-sync into charles-dev

4 years agoMoved autoreconf.
Charles [Thu, 20 May 2021 10:49:19 +0000 (11:49 +0100)] 
Moved autoreconf.

4 years agotighten up on the availability of a clock before feeding audio into the player.
Mike Brady [Sun, 16 May 2021 12:02:19 +0000 (13:02 +0100)] 
tighten up on the availability of a clock before feeding audio into the player.

4 years agohandle volume control requests in AP2 correctly. Don't reset timing peer lists when...
Mike Brady [Sat, 15 May 2021 11:18:37 +0000 (12:18 +0100)] 
handle volume control requests in AP2 correctly. Don't reset timing peer lists when buffered audio is paused.

4 years agoStart using automatic git-based versioning
Mike Brady [Fri, 14 May 2021 21:49:17 +0000 (22:49 +0100)] 
Start using automatic git-based versioning

4 years agoMerge branch 'development' of github.com:aillwee/shairport-sync into development 4.0-dev
Mike Brady [Fri, 14 May 2021 21:38:56 +0000 (22:38 +0100)] 
Merge branch 'development' of github.com:aillwee/shairport-sync into development

Documentation Update

4 years agoMerge pull request #8 from aillwee/charles-dev
Charles [Fri, 14 May 2021 15:57:33 +0000 (16:57 +0100)] 
Merge pull request #8 from aillwee/charles-dev

Smaller docker image & GitHub action change.

4 years agoWas 4.0d4 with some extras. Moving to git-based semantic versioning.
Mike Brady [Fri, 14 May 2021 13:23:10 +0000 (14:23 +0100)] 
Was 4.0d4 with some extras. Moving to git-based semantic versioning.

4 years agoAlways update the systemd shairport-sync.service file.
Mike Brady [Fri, 14 May 2021 11:26:25 +0000 (12:26 +0100)] 
Always update the systemd shairport-sync.service file.

4 years agoMerge branch 'development' of github.com:aillwee/shairport-sync into charles-dev
Charles [Thu, 13 May 2021 20:24:31 +0000 (21:24 +0100)] 
Merge branch 'development' of github.com:aillwee/shairport-sync into charles-dev

4 years agoBump for changes to missing clock and flushing.
Mike Brady [Thu, 13 May 2021 20:16:58 +0000 (21:16 +0100)] 
Bump for changes to missing clock and flushing.

4 years agoquieten a debug message
Mike Brady [Thu, 13 May 2021 20:07:56 +0000 (21:07 +0100)] 
quieten a debug message

4 years agoclang
Mike Brady [Thu, 13 May 2021 19:59:38 +0000 (20:59 +0100)] 
clang

4 years agoTidy up a message.
Mike Brady [Thu, 13 May 2021 19:58:03 +0000 (20:58 +0100)] 
Tidy up a message.

4 years agoIf a PTP clock isn't available, use existing timing data if it's still valid.
Mike Brady [Thu, 13 May 2021 19:12:12 +0000 (20:12 +0100)] 
If a PTP clock isn't available, use existing timing data if it's still valid.

4 years agofix flush of a large sync error, hopefully.
Mike Brady [Thu, 13 May 2021 19:10:38 +0000 (20:10 +0100)] 
fix flush of a large sync error, hopefully.

4 years agoSmaller docker image & action change.
Charles [Thu, 13 May 2021 01:45:29 +0000 (02:45 +0100)] 
Smaller docker image & action change.

4 years agoask for at least 50 ms of a lead-in for buffered audio.
Mike Brady [Wed, 12 May 2021 10:32:18 +0000 (11:32 +0100)] 
ask for at least 50 ms of a lead-in for buffered audio.

4 years agoclang
Mike Brady [Wed, 12 May 2021 10:00:41 +0000 (11:00 +0100)] 
clang

4 years agoFix a compilation bug and quieten a debug message.
Mike Brady [Wed, 12 May 2021 10:00:09 +0000 (11:00 +0100)] 
Fix a compilation bug and quieten a debug message.

4 years agofix calculation of offset with a negative offset
Mike Brady [Wed, 12 May 2021 09:59:33 +0000 (10:59 +0100)] 
fix calculation of offset with a negative offset

4 years agoRemove some obsolete error checking code.
Mike Brady [Wed, 12 May 2021 09:58:29 +0000 (10:58 +0100)] 
Remove some obsolete error checking code.

4 years agofix a couple of compilation errors.
Mike Brady [Wed, 12 May 2021 09:57:50 +0000 (10:57 +0100)] 
fix a couple of compilation errors.

4 years agomore closely check for time information being available.
Mike Brady [Tue, 11 May 2021 17:52:02 +0000 (18:52 +0100)] 
more closely check for time information being available.

4 years agoClean up some of the sync timing. Ignore a flush if playing AP2. Set the requested...
Mike Brady [Tue, 11 May 2021 09:46:56 +0000 (10:46 +0100)] 
Clean up some of the sync timing. Ignore a flush if playing AP2. Set the requested lead time to zero.

4 years agoUpdate BUILDFORAP2.md
Mike Brady [Mon, 10 May 2021 15:07:24 +0000 (16:07 +0100)] 
Update BUILDFORAP2.md

4 years agoQuieten some more debug messages. Fix a misleading clock status return.
Mike Brady [Mon, 10 May 2021 15:03:02 +0000 (16:03 +0100)] 
Quieten some more debug messages. Fix a misleading clock status return.

4 years agoImprove NQPTP clock diagnostics, tidy up some messages.
Mike Brady [Mon, 10 May 2021 13:16:57 +0000 (14:16 +0100)] 
Improve NQPTP clock diagnostics, tidy up some messages.

4 years agoPlayer thread always gains play lock and keeps ut until terminated. Clean up terminat...
Mike Brady [Mon, 10 May 2021 08:37:42 +0000 (09:37 +0100)] 
Player thread always gains play lock and keeps ut until terminated. Clean up termination code, add extra diagnistic information and quieten some debug messages.

4 years agoQuieten speed and size debug message
Mike Brady [Mon, 10 May 2021 08:36:14 +0000 (09:36 +0100)] 
Quieten speed and size debug message

4 years agoadd plist cleanup for pthread cleanup
Mike Brady [Mon, 10 May 2021 08:01:25 +0000 (09:01 +0100)] 
add plist cleanup for pthread cleanup

4 years agoMove AP2 player termination code from handle_teardown into the player cleanup functio...
Mike Brady [Sat, 8 May 2021 16:46:13 +0000 (17:46 +0100)] 
Move AP2 player termination code from handle_teardown into the player cleanup function so that cancelling the player thread cleans up properly.

4 years agoUpdate configure.ac
Mike Brady [Sat, 8 May 2021 14:29:54 +0000 (15:29 +0100)] 
Update configure.ac

Bumped for an update to `pair_ap`.

4 years agoMerge pull request #3 from ejurgensen/pair_errors1
Mike Brady [Sat, 8 May 2021 08:57:05 +0000 (09:57 +0100)] 
Merge pull request #3 from ejurgensen/pair_errors1

Return same pairing errors as Airplay devices + announce actual public key

4 years agoAnnounce the actual public key (pk) in Bonjour and GET /info
ejurgensen [Fri, 7 May 2021 17:26:48 +0000 (19:26 +0200)] 
Announce the actual public key (pk) in Bonjour and GET /info

Same as other Airplay 2 devices do, even though it doesn't seem to be used
by any clients.

4 years agoReturn same pairing errors as other Airplay devices
ejurgensen [Fri, 7 May 2021 17:10:07 +0000 (19:10 +0200)] 
Return same pairing errors as other Airplay devices

- 470 on general errors
- TLV-formatet authentication error on incorrect PIN/signature

The latter makes sure clients clear saved credentials, so the user isn't stuck
with a device that keeps using incorrect credentials.

4 years agoUpdate README.md
Mike Brady [Fri, 7 May 2021 06:03:14 +0000 (07:03 +0100)] 
Update README.md

4 years agoMerge pull request #2 from charlesomer/development
Mike Brady [Thu, 6 May 2021 19:07:39 +0000 (20:07 +0100)] 
Merge pull request #2 from charlesomer/development

Current Docker Image Progress

4 years agoUpdated docker compose.
Charles [Thu, 6 May 2021 10:53:19 +0000 (11:53 +0100)] 
Updated docker compose.

4 years agoTest.
Charles [Thu, 6 May 2021 10:36:02 +0000 (11:36 +0100)] 
Test.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:53:21 +0000 (02:53 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:51:24 +0000 (02:51 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:49:13 +0000 (02:49 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:46:14 +0000 (02:46 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:22:07 +0000 (02:22 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:20:57 +0000 (02:20 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:17:25 +0000 (02:17 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:16:21 +0000 (02:16 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:10:28 +0000 (02:10 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:08:47 +0000 (02:08 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:07:05 +0000 (02:07 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 01:00:43 +0000 (02:00 +0100)] 
Try this.

4 years agoTry this.
Charles [Thu, 6 May 2021 00:55:41 +0000 (01:55 +0100)] 
Try this.

4 years agoTry this.
Charles [Wed, 5 May 2021 23:28:10 +0000 (00:28 +0100)] 
Try this.

4 years agoTry this.
Charles [Wed, 5 May 2021 23:26:01 +0000 (00:26 +0100)] 
Try this.

4 years agoUpdated docker build.
Charles [Wed, 5 May 2021 21:45:03 +0000 (22:45 +0100)] 
Updated docker build.

4 years agoMerge branch 'development' of github.com:aillwee/shairport-sync into development
Charles [Wed, 5 May 2021 21:44:34 +0000 (22:44 +0100)] 
Merge branch 'development' of github.com:aillwee/shairport-sync into development

4 years agoSlightly better timing. Bumped version for ejurgensen's new pair_ap work.
Mike Brady [Wed, 5 May 2021 17:33:21 +0000 (18:33 +0100)] 
Slightly better timing. Bumped version for ejurgensen's new pair_ap work.

4 years agoMerge pull request #1 from ejurgensen/use_pair_ap1
Mike Brady [Wed, 5 May 2021 14:04:48 +0000 (15:04 +0100)] 
Merge pull request #1 from ejurgensen/use_pair_ap1

Use pair ap.

Many thanks for this. I tested it briefly and it works!