Commit Graph
92 Commits
Author SHA1 Message Date
Mike Brady b405c0b896 Version 5.0 Major Release.
New Features:
Multi-Channel and High-Resolution Audio Support
48,000 frames per second ("48k") operation.
48k lossless stereo support.
5.1 and 7.1 surround sound support.
Multi-channel and multi-rate operation on ALSA, PipeWire, PulseAudio, FreeBSD, stdout and Unix pipe output backends.
Automatic Audio Format Selection
Flexible and controllable output format selection.
Automatic rate, sample format, and channel count selection.
Full FFmpeg Integration
Support for transcoding.
Advanced resampling capabilities.
New audio format support.
Enhanced Resampling
New vernier resampling and interpolation method optimized for low-power CPUs.
Better performance on resource-constrained devices.

Convolution and Loudness Enhancements:
Convolution system is now multithreaded and works on stereo and multichannel audio at 48k and 44.1k.
Multiple impulse response (IR) files can now be provided via convolution_ir_files setting.
New convolution_thread_pool_size setting for multithreaded processing (defaults to 1).
Loudness processing now works with stereo and multichannel audio at 48k and 44.1k.
Updated to the most recent HiFi-LoFi FFT convolver.

MQTT Enhancements:
Added new publish_retain boolean option. When enabled, published MQTT messages have the retain flag set, so the MQTT broker stores the last message per topic and new subscribers receive the most recent value immediately. Thanks to lululombard for PR #2142.

D-Bus Enhancements:
Added new dbus_default_message_bus command-line argument (can be system or session) to set the default message bus for both D-Bus native service and MPRIS service.

Performance Improvements:
Enhanced compatibility with AirPlay 2 AutoMix and Smart Tracklists resulting in less unexplained track skipping.
Better operation on low-power devices down to Raspberry Pi B.
Improved efficiency on embedded systems.
Enhanced timestamp handling for better synchronization.
Improved sync error calculation.
Rebuilt buffered audio processor for cleaner handling of immediate and deferred flush requests.

Docker Enhancements:
Reduced Docker image sizes with slimmed-down FFmpeg library.
Removed dhclient from Docker images for smaller footprint.

Bug Fixes:
Fixed MQTT warning on service startup: "Could not establish a mqtt connection". The startup script now correctly states that the mosquitto service is required. Thanks to Hugo Villeneuve for PR #2137.
Fixed compatibility with mbedtls library version 3.4+ (present on recent Linux versions). Thanks to Christian Beier for finding and fixing the bug.
Fixed PulseAudio backend so that PA_ERR_NODATA returns "No latency data yet". Thanks to Vladimir Shakov for the report and fix.
Ensured old flush requests are deleted when a new play session starts. Thanks to saujanyashah for the report.
Fixed format warnings on 64-bit and 32-bit systems
Removed compilation warnings on 32-bit builds
Improved argument checking for debug(), inform(), warn() and die() functions
Fixed "daemon" typos throughout codebase. Thanks to Chris Boot for PR #1981.
Added warning if a convolution impulse response file cannot be read due to bad path or permissions

Build System Improvements:
Unified service file with variable substitution for Avahi support, making it easier to add future service dependencies. Thanks to Hugo Villeneuve.
Network interface selection now only considers interfaces that are up, running and not loopback interfaces. Thanks to Carl Johnson for the suggestion.
Configuration File Changes and Deprecations

New settings: convolution_ir_files (replaces convolution_ir_file), convolution_enabled (replaces convolution), convolution_max_length_in_seconds (replaces convolution_max_length), loudness_enabled (replaces loudness).
New convolution_thread_pool_size setting (defaults to 1).
Deprecated settings: convolution_ir_file, convolution, convolution_max_length, loudness.
Corresponding D-Bus methods and properties have been updated.

Deprecation Notice:
The Jack Audio and soundio backends are deprecated and will be removed in a future release. Consider using the updated PipeWire backend instead.

Documentation Updates
Updated BUILD.md with latest build instructions.
Updated AIRPLAY2.md with feature information.
Enhanced convolution and loudness documentation.

Maintenance:
Fixed FFmpeg deprecation warnings.
Bumped actions/checkout from 6.0.1 to 6.0.2.
Bumped docker/login-action from 3.6.0 to 3.7.0.
Bumped docker/build-push-action from 6.13.0 to 6.15.0.
Bumped docker/setup-qemu-action from 3.4.0 to 3.6.0.
Bumped docker/setup-buildx-action from 3.9.0 to 3.10.0.
2026-02-13 15:17:40 +00:00
Mike Brady 6ab794297b Merge branch 'development'
Limit the maximum number of open file handles in Docker images.
Increase the level of optimisation (to -O3) while building the Shairport Sync application itself.
Enabled termination of a disconnected session in AirPlay 2 operation after a timeout, which was disabled by default.
Fixed a bug that prevented Shairport Sync from terminating cleanly when a fatal error that occurred while directly accessing the alsa output device.
Fixed a bug that prevented Shairport Sync from recovering cleanly if a player disconnected without warning. The problem was that the player thread would not respond to cancel request. Fixed by moving a pthreadtestcancel() call to the innermost loop.
Fixed compilation errors on old versions of Mac OS X by, reordering some of the files to be included in shairport.c.
Avoided using TCP_KEEPINTVL and TCP_KEEPCNT if they are not defined (they are not defined in older versions of Mac OS X).
Fixed a race condition with the metadata queues. The problem was that the queues were being initialised by threads launched by the main thread which, having started the threads, proceeded to use the queues. But if the threads were late in starting, the queues might not be initialised by the time the main thread tried to use them. Fixed by initialising the queues in the main thread.
Enable the ALSA backend to access mixers on a devices with a hdmi: prefix.
Update the help text for the ALSA backend to denote HDMI devices using the hdmi: prefix rather than hw:.
Manage thread cancellation state explicitly in audio_ao.c
CAR INSTALL guide: Simplify some of the wording. Change order and allow a few seconds before starting systemd-timesync service.
2024-07-06 11:46:14 +01:00
Mike BradyandGitHub 8941caec78 Update CAR INSTALL.md 2024-07-03 22:35:07 +01:00
Mike BradyandGitHub e6da1a1db3 Update CAR INSTALL.md 2024-07-03 20:13:30 +01:00
Mike Brady 28ae1dae85 Merge branch 'development'
This is 4.3.3 release.
2024-05-29 15:17:59 +01:00
Mike BradyandGitHub c07247af85 Update CAR INSTALL.md 2024-05-29 12:31:42 +01:00
Mike BradyandGitHub 2e7d5233be Update CAR INSTALL.md 2024-05-29 12:28:37 +01:00
Mike BradyandGitHub 7e7414658f Update CAR INSTALL.md 2023-11-06 11:07:06 +00:00
Mike BradyandGitHub 84a214d4d0 Update CAR INSTALL.md 2023-10-30 17:07:28 +00:00
Mike BradyandGitHub 40306cc742 Update CAR INSTALL.md 2023-10-23 15:10:54 +01:00
Mike BradyandGitHub bc363160ba Update CAR INSTALL.md 2023-10-23 14:49:02 +01:00
Mike BradyandGitHub 2a5c49d3c1 Bookworm and simplifications
Update for Bookworm and make some simplifications.
2023-10-23 10:07:53 +01:00
Mike BradyandGitHub fef5adaf54 Update CAR INSTALL.md
Update for Bookworm and simplify some steps. Add some information about updating.
2023-10-22 13:06:45 +01:00
Mike BradyandGitHub 23946b53b3 Update CAR INSTALL.md 2023-10-15 22:24:50 +01:00
Mike BradyandGitHub 90c03bf053 Update CAR INSTALL.md 2023-10-15 22:24:03 +01:00
Mike BradyandGitHub 9732afb58f Update CAR INSTALL.md
Add note about Bookworm
2023-10-15 08:32:02 +01:00
Mike BradyandGitHub 728756a1a1 Update CAR INSTALL.md
Add note about Bookworm
2023-10-15 08:30:25 +01:00
Mike Brady 90f8603e3b Copy back improvements made on the master branch only. 2022-10-24 09:20:20 +01:00
Mike Brady 253e149a89 Merge branch 'development'
Updates from the development branch.
2022-10-17 09:14:43 +01:00
Mike Brady 5f086497f3 Update to reflect removal of superseded documents. 2022-10-10 11:03:44 +01:00
Mike BradyandGitHub 20f3f12235 Update CAR INSTALL.md 2022-10-07 17:11:57 +01:00
Mike Brady 07426e17c8 Take update to CAR INSTALL. 2022-09-29 12:48:37 +01:00
Mike Brady 27a5f8334d Merge branch 'development'
Documentation updates.
2022-09-27 14:19:15 +01:00
Mike Brady 12a0e67d68 Small documentation updates. 2022-09-27 14:18:44 +01:00
Mike Brady 2fa744419d Merge remote-tracking branch 'origin/development' 2022-09-15 17:28:47 +01:00
Mike BradyandGitHub 0b2ebd2576 Update CAR INSTALL.md 2022-08-16 12:08:01 +01:00
Mike BradyandGitHub 0e77c117b8 Update CAR INSTALL.md 2022-08-16 12:07:16 +01:00
Mike BradyandGitHub fcf2434f47 Update CAR INSTALL.md 2022-08-16 11:48:00 +01:00
Mike BradyandGitHub d34db2a4b6 Update CAR INSTALL.md 2022-08-16 09:41:36 +01:00
Mike BradyandGitHub 08de8a4084 Update CAR INSTALL.md 2022-08-15 18:03:45 +01:00
Mike BradyandGitHub e312c0cda2 Update CAR INSTALL.md 2022-08-15 17:43:21 +01:00
Mike BradyandGitHub a9a5bde4f5 Update CAR INSTALL.md 2022-08-15 17:27:07 +01:00
Mike BradyandGitHub aa83a7ad39 Update CAR INSTALL.md 2022-08-15 16:30:05 +01:00
Mike BradyandGitHub 3f2367db8b Update CAR INSTALL.md 2022-08-15 16:28:20 +01:00
Mike BradyandGitHub e3197adc03 Update CAR INSTALL.md 2022-08-15 16:23:56 +01:00
Mike BradyandGitHub 3f7806f5c7 Update CAR INSTALL.md 2022-08-15 16:23:19 +01:00
Mike BradyandGitHub 4473bc329d Update CAR INSTALL.md 2022-08-15 16:22:19 +01:00
Mike BradyandGitHub 8de767fc36 Update CAR INSTALL.md 2022-08-15 15:52:12 +01:00
Mike BradyandGitHub 248a9903d4 Update CAR INSTALL.md 2022-08-15 15:49:36 +01:00
Mike BradyandGitHub b871c31cda Update CAR INSTALL.md 2022-08-15 15:47:24 +01:00
Mike BradyandGitHub 26d37341ed Update CAR INSTALL.md 2022-05-23 11:08:36 +01:00
Mike BradyandGitHub 8eeadb73b6 Update CAR INSTALL.md 2021-10-24 11:22:36 +01:00
Mike BradyandGitHub d36b6a6f76 Update CAR INSTALL.md 2021-10-24 11:19:00 +01:00
Mike BradyandGitHub dc7d4945ec Update CAR INSTALL.md 2021-10-24 11:17:23 +01:00
Mike BradyandGitHub fa4dc400ac Update CAR INSTALL.md 2021-10-23 15:41:30 +01:00
Mike BradyandGitHub 981be8ec6b Update CAR INSTALL.md 2021-10-23 14:47:05 +01:00
Mike BradyandGitHub 0951d51192 Update CAR INSTALL.md 2021-10-23 14:45:46 +01:00
Mike BradyandGitHub 4e1f6a5177 Update CAR INSTALL.md 2021-10-23 14:16:32 +01:00
Mike BradyandGitHub 1c5244b5bd Update CAR INSTALL.md 2021-10-23 13:47:41 +01:00
Mike BradyandGitHub 413651bccb Update CAR INSTALL.md 2021-10-23 13:36:24 +01:00