Commit Graph
6225 Commits
Author SHA1 Message Date
Mike Brady fcacc4e51f Update a couple of comments. 2025-12-22 17:55:26 +00:00
Mike Brady 775cdedfe9 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Documentation update
2025-12-22 10:46:36 +00:00
Mike BradyandGitHub d6220cab9a Update RELEASENOTES-DEVELOPMENT.md 2025-12-22 10:39:49 +00:00
Mike Brady 9339c2154f Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Merge an error-return fix in audio_pa.c and a dependabot update.
2025-12-22 10:32:05 +00:00
Mike BradyandGitHub ec0016fb89 Merge pull request #2120 from mikebrady/dependabot/github_actions/development/docker/setup-buildx-action-3.12.0
Bump docker/setup-buildx-action from 3.11.1 to 3.12.0
2025-12-22 10:31:56 +00:00
Mike BradyandGitHub 754b4bc750 Merge pull request #2119 from bogdad/pa-no-lanency-yet-fix
audio_pa.c: pa_delay, return "No latency data yet" on PA_ERR_NODATA
2025-12-22 10:31:19 +00:00
Mike Brady 5d3829199b Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Update to use mbedtls V 3.
2025-12-22 10:29:57 +00:00
dependabot[bot]andGitHub 69d86e3a80 Bump docker/setup-buildx-action from 3.11.1 to 3.12.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.11.1 to 3.12.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.11.1...v3.12.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 3.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-21 10:04:23 +00:00
Vladimir c97efa1248 audio_pa.c: pa_delay, return "No latency data yet" on PA_ERR_NODATA 2025-12-20 21:21:13 +01:00
Mike BradyandGitHub 5f2c7161fd Correct capitalization in release notes 2025-12-20 16:40:30 +00:00
Mike BradyandGitHub 21c1135050 Update release notes for version 5.0-dev-100
Added release notes for version 5.0-dev-100, including a bug fix related to mbedtls library compatibility.
2025-12-20 16:40:06 +00:00
Mike BradyandGitHub a123888255 Merge pull request #2118 from bk138/development
mbedtls: use high-level PK API for signing w/ mbedTLS >= 3
2025-12-20 16:24:11 +00:00
Christian Beier 0ed6b5de08 mbedtls: use high-level PK API for signing w/ mbedTLS >= 3
They state in https://github.com/Mbed-TLS/mbedtls/blob/master/docs/3.0-migration-guide.md#remove-the-mode-parameter-from-rsa-functions
that the lower level API will not work as expected.

Closes #2115
2025-12-20 17:21:25 +01:00
Mike Brady 3d4c0e1d6d Turn a rejection of an 8-byte ALAC packet into a debug message only. Maybe the 8-byte packet is okay. 2025-12-16 10:21:37 +00:00
Mike Brady 1caaa38071 Quieten a few debug messages and simplify one of two. 2025-12-16 09:33:31 +00:00
Mike Brady 60278863ce Add some checks on cancelled deferred flushes and over-running immediate flushes. Quieten some other messages. 2025-12-15 12:50:10 +00:00
Mike Brady fb5b434f55 Quieten some debug messages. 2025-12-14 15:27:12 +00:00
Mike Brady 07b60e7112 1. Add the ability to work back through queued buffers to find the first buffer that’s older than the given one. This is to enable the replacement of deciphered buffers with buffers that arrive later but are timed earlier.
Added functions that relate to this are: get_revised_seqno() to wind back through the queued buffers and clear_buffers_from() to free buffers that are already occupied.
2. Clean up get_audio_buffer_size_and_occupancy() and replace it with get_audio_buffer_occupancy().
3. Add a new general setting: audio_decoded_buffer_desired_length_in_seconds for managing the size of the player buffer queue when the source is buffered audio. Default is 0.75 seconds so that we can step back up to that time if older buffers appear.
2025-12-14 10:17:38 +00:00
Mike Brady ee56f778fd Remove redundant (?) calls to 'prepare_decoding_chain()'. 2025-12-11 16:44:16 +00:00
Mike Brady 7848e88b81 Set the type to '96' for Classic compatibility mode. Quieten some debug messages. 2025-12-11 15:34:12 +00:00
Mike Brady bc384466e0 Set the AirPlay type to ap_1 and the timing type to ts_ntp when you get an ANNOUNCE to signify a Classic AirPlay session has been started. 2025-12-11 11:03:18 +00:00
Mike Brady 489bfd7862 Add a check for EINTR to accept() calls. 2025-12-09 17:13:18 +00:00
Mike BradyandGitHub 235d64d1d6 Merge pull request #2110 from mikebrady/dependabot/github_actions/development/actions/stale-10.1.1
Bump actions/stale from 10.1.0 to 10.1.1
2025-12-09 12:21:20 +00:00
Mike BradyandGitHub 5f9d63888a Merge pull request #2109 from mikebrady/dependabot/github_actions/development/actions/checkout-6.0.1
Bump actions/checkout from 6.0.0 to 6.0.1
2025-12-09 12:21:05 +00:00
Mike Brady e9f60c89d2 Cleaned up the get_play_lock and release_play_lock stuff and placed them in the right (?) places for AP2, AP1 compatibiity and Classic AP. Fixed the setting of flags and GID in Bonjour. 2025-12-09 12:10:05 +00:00
Mike Brady f2de7fadef Start using get_play_lock and release_play_lock and enable them to turn on and off the appropriate bonjour flags. 2025-12-08 09:50:54 +00:00
dependabot[bot]andGitHub 2bd3f17c34 Bump actions/stale from 10.1.0 to 10.1.1
Bumps [actions/stale](https://github.com/actions/stale) from 10.1.0 to 10.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v10.1.0...v10.1.1)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-07 10:04:22 +00:00
dependabot[bot]andGitHub 17f9114002 Bump actions/checkout from 6.0.0 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-07 10:04:18 +00:00
Mike Brady 5969896612 release principal conn when terminating a listener loop, set the airplay_stream_type for a classic airplay session. 2025-12-06 15:05:58 +00:00
Mike Brady 21e7d628ef Make cancel_all_RTSP_threads be specific about what kind of listeners it will kill, if needed. Quieten a few more messages. 2025-12-05 13:29:35 +00:00
Mike Brady a755a26e92 Move clock setup and start from Setup Phase 1 to Setup Phase 2. clear_all_conns now clears every type of connection, not just airplay. Clean up, rename and remove some old stuff and quieten yet more debug messages. 2025-12-05 12:10:15 +00:00
Mike Brady b82ae79852 Quieten a few more debug messages 2025-12-05 10:05:57 +00:00
Mike Brady a062f83abe Quieten lots of debug messages. 2025-12-05 08:49:22 +00:00
Mike Brady aac6913681 Stop the player thread from resetting the NTPTP client clock when it finishes. 2025-12-05 08:33:18 +00:00
Mike Brady 0e274eb760 Balking when connecting to HPM. 2025-12-04 11:35:00 +00:00
Mike Brady 009a13dfe5 Separate out the buffered audio processor, the buffered reader and the mod 2^23 aritemetic. 2025-12-03 17:44:50 +00:00
Mike Brady 341a1f8d5d Move a function so that it can be build without the FFmpeg library, duh. 2025-12-03 16:13:38 +00:00
Mike Brady 93bafe304a Modify/simplify the TEARDOWN handling in AP2 mode. Allow the threads to natrually terminate when ports are closed by the client. 2025-12-03 15:56:38 +00:00
Mike Brady 3e57f8c706 Add a flag showing the event thread had exited. Modify the ab_mutex locking and unlocking. Add get_category_string(). 2025-12-03 15:54:01 +00:00
Mike Brady 32915d92a4 clang format 2025-12-03 15:50:26 +00:00
Mike Brady 1b4838df52 extend the new build flags to other architectures 2025-12-03 15:49:47 +00:00
Mike Brady d18aebb2d0 Begin to separate out the Boujor Strings stuff. 2025-12-03 15:48:55 +00:00
Mike Brady 2de1ecf0dd Move debug stuff into utilites folder. Move structured_buffer stuff into its own files. Duplicate rtp_event_receiver to ap2_event_handler and ap2_rc_event_handler. 2025-12-02 13:02:15 +00:00
Mike Brady 7dac575602 Move debug stuff into utilites folder. Move structured_buffer stuff into its own files, duplicate rtp_event_receiver to ap2_event_handler and ap2_rc_event_handler. 2025-12-02 12:59:54 +00:00
Mike Brady 4e4d35ec77 Move rtp_event_handler out to its own files, make two copies of it called ap2_event_handler and ap2_rc_event_handler respectively. 2025-12-02 12:57:01 +00:00
Mike Brady 5406e666a6 Quieten advisory log entries from FFmpeg unless at verbosity 2 or more. 2025-12-02 12:55:04 +00:00
Mike Brady 8c765d74ac Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Add code to clear pending flushes from a connection whn a new buffered audio processor is created.
2025-12-01 13:07:54 +00:00
Mike BradyandGitHub b64d0c9813 Update release notes for version 5.0-dev-93
Added a bug fix for flushing requests in new play sessions.
2025-12-01 11:18:54 +00:00
Mike Brady 1417cd6f51 When a new buffered audio processor is created, ensure any old flush requests are removed first. 2025-12-01 11:15:25 +00:00
Mike Brady 54445ee8f5 Separate out the debug facilities into their own files. Clean up and add a few associated methods. 2025-11-27 12:37:16 +00:00