Commit Graph
19 Commits
Author SHA1 Message Date
Adrián Reyes 5e0889181a Fix broken link to CONFIGURATION_FLAGS.md 2026-07-10 17:04:38 -07:00
Mike Brady f30dd7aee6 Enhancements
Enable the AirPlay 2 build to operate an optional classic-AirPlay-only service or to gracefully degrade to classic AirPlay, as follows:
  1. Add a new command-line option '-—service-type=<type>' and an equivalent configuration entry 'service_type = "<type>"' in the 'general' section of the configuration file,
     where <type> can be "auto", "classic" or "airplay2":
      1. "auto" (default) means that the service will be AirPlay 2 if NQPTP is running. If NQPTP is not running, classic AirPlay service will be provided instead, and in that case,
      "(Classic)" will be appended to the default AirPlay service name visible to AirPlay clients like Apple Music, for example "RaspberryPi3B (Classic)".
      2. "classic" means the service will be classic AirPlay (aka AirPlay 1).
      3. "airplay2" means the service will be the modern AirPlay 2. In this case, as distinct from "auto", if NQPTP is not running, Shairport Sync will log an error and terminate.
  2. In the systemd service file, NQPTP is now a "Want" rather than a "Require". If it's present, then it will be launched before Shairport Sync. If it's absent, Shairport Sync will launch anyway.
  3. Improve the delivery of input format changes and emit 'sdsc' metadata when changes occur.
  4. Emit new format information in the log if statistics is enabled.

Docker Changes
  1. Support for linux/arm/v6 has been dropped, as Docker is no longer supported.
  2. NQPTP is not started in the AirPlay 2 Docker image if '--service-type=classic' or '--service-type=airplay1' is in the command line options at the end of the docker run command.
     The purpose is to ensure that ports 319 and 320 are left alone when the AirPlay 2 image is set to provide Classic service only.
     Note that setting the configuration file 'service_type' to 'classic' will not prevent NQPTP from starting up -- you must use the command line option.
  3. A new "dev" target has been added. It is a large image containing the custom-built FFmpeg library, NQPTP, Avahi and D-Bus along with the Shairport Sync source and
     all necessary development tools. When started, Avahi, D-Bus and NQPTP are all installed and running. The bash shell has also been added and is entered.

Stability Improvements
  Reorganise session preemption to fully terminate the existing session before starting a new one.
  Don't delay closing the event port to wait for it to be closed at the client end.
  Add a safe_socket_close() function to ensure sockets are fully closed. Use -1 to designate closed rather than 0, to prevent attempts to reclose sockets, causing mayhem.
  Re-order FFmpeg decommissioning during teardown.
2026-05-18 09:57:12 +01:00
Mike Brady 60143518c2 This squashed commit comprises a long series of improvements, bug fixes, optimizations, and new feature additions:
- 48,000 frames per second operation,
 - 48k lossless stereo, 5.1 and 7.1 surround sound
 - Multichannel and multi rate operation on ALSA, PipeWire, PulseAudio, FreeBSD, stdout and unix pipe output backends.

Automatic, flexible and controllable output format (rate, sample format and channel count) selection.

Full FFmpeg integration to support transcoding, resampling, and new audio formats.

Better operation on lower powered devices down to e.g. Raspberry Pi B.

Reduced Docker image sizes with a slimmed-down FFmpeg library.

Enhanced timestamp handling for better synchronization.

Improved the sync error calculation.

A new "vernier" resampling and interpolation method for low-power CPUs.

Bug fixes and minor enhancements.

Note -- there are many breaking changes from previous versions of Shairport Sync!
2025-02-23 13:31:17 +00:00
Will Mortensen 3f1cd7e298 Clarify statistics doc
The descriptions of Net Sync PPM and All Sync PPM appeared to be partly
swapped. Also generally clarify them and harmonize the wording with the
introduction.
2024-12-30 09:07:04 +00:00
Mike BradyandGitHub 1b53d9d306 Update PulseAudioAndPipeWire.md 2023-03-24 10:58:15 +00:00
Mike BradyandGitHub 85e1c08e30 Update README.md 2023-03-24 10:49:52 +00:00
Mike BradyandGitHub 7be37f8219 Update PulseAudioAndPipeWire.md 2023-03-24 10:46:44 +00:00
Mike BradyandGitHub d23e62d7ea Update PulseAudioAndPipeWire.md 2023-03-24 09:18:37 +00:00
Mike BradyandGitHub 24e267de78 Create PulseAudioAndPipeWire.md 2023-03-24 09:12:02 +00:00
Mike BradyandGitHub 5aa860ff98 Update AdjustingSync.md 2022-10-16 22:35:58 +01:00
Mike Brady 65daef30c2 Add a section on adjusting sync to compensate for amplifier delays. Update the troubleshooting guide to point to it. 2022-10-10 12:11:53 +01:00
Mike Brady 90402c6002 Update from master branch. 2022-10-05 10:08:16 +01:00
Mike Brady b653027f74 Only call the volume hook once for each volume event even when the dbus interface is included. 2022-10-03 17:56:02 +01:00
Mike Brady 12a0e67d68 Small documentation updates. 2022-09-27 14:18:44 +01:00
Mike BradyandGitHub 853544f164 Update InitialConfiguration.md 2022-09-19 09:51:39 +01:00
Mike BradyandGitHub cf5f3ddd85 Update README.md 2022-08-20 08:27:13 +01:00
Mike BradyandGitHub 8629fb5c82 Update README.md 2022-08-19 22:21:51 +01:00
Mike BradyandGitHub e4e9497e2f Update README.md 2022-07-25 14:57:15 +01:00
Mike Brady e78a88b64a Big documentation reorganisation. Comments wlecome! 2022-07-25 14:44:57 +01:00