Commit Graph
14 Commits
Author SHA1 Message Date
Mike Brady e12a3ed7b2 Do a long-overdue rebuild of the buffered audio processor and, with everything we have figured out, implement a cleaner method to handle both immediate and deferred flush requests. Remove lots of old flags and redundant code. Leave in a few debug messages. 2025-11-16 16:58:34 +00: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
Mike Brady 3001f39bc5 3.1.2 pretty-print using clang-format 2017-09-07 12:02:00 +01:00
Mike Brady 31a09bb368 Fix some silent issues that were highlighted by "infer" 2017-09-03 15:08:13 +01:00
Mike Brady 064bd293c5 Tidy up with a clang-format 2016-09-11 10:35:53 +01:00
Mike Brady 6c485fa5b8 Make alac check allocated buffer size and make player check and discard bad audio frames. 2016-02-02 09:43:44 +00:00
Mike Brady 6802f4ae2a Add a little diagnostic to the output of the alac decoder. 2015-12-14 17:12:03 +00:00
James Laird c627bae022 player: avoid leaking memory 2013-04-01 23:04:54 +11:00
James Laird a2fb5d219d Refactor and rewrite.
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00
Dan McGee 435a866816 Add static to some functions in alac.c 2012-02-24 16:02:47 -06:00
Dan McGee f5e7e87c51 Remove dead code in alac.c 2012-02-24 14:13:23 -06:00
okertanov 532a468a11 formatting fix: trailing spaces 2011-04-16 00:00:26 +03:00
okertanov 2a0023880d Merged with ShairPort 0.04 update.
http://mafipulation.org/blagoblig/2011/04/08
    shairport-0.04.tar.gz
    12/4: Updated to 0.04 - compile fixed on non-x86 platforms
2011-04-14 00:54:46 +03:00
Preston Marshall 31cf954da5 first commit 2011-04-11 00:09:42 -05:00