]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
Mike Brady [Thu, 9 Dec 2021 14:17:42 +0000 (14:17 +0000)]
Merge branch 'mptre-master' into development
Thanks to Anton Lindqvist (https://github.com/mptre) for this PR.
Mike Brady [Thu, 9 Dec 2021 14:16:37 +0000 (14:16 +0000)]
Merge "openbsd corrections #1357" after resolving one conflict.
Mike Brady [Wed, 8 Dec 2021 22:37:09 +0000 (22:37 +0000)]
Update AIRPLAY2.md
Mike Brady [Wed, 8 Dec 2021 22:32:40 +0000 (22:32 +0000)]
Merge pull request #1356 from tecdude/patch-1
Update AIRPLAY2.md
Mike Brady [Wed, 8 Dec 2021 20:32:48 +0000 (20:32 +0000)]
Update stale.yaml
Set the limit to 45 days
Mike Brady [Wed, 8 Dec 2021 17:37:08 +0000 (17:37 +0000)]
Update RELEASENOTES.md
Mike Brady [Wed, 8 Dec 2021 17:33:52 +0000 (17:33 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 8 Dec 2021 17:29:05 +0000 (17:29 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 8 Dec 2021 12:05:52 +0000 (12:05 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Mike Brady [Wed, 8 Dec 2021 11:59:09 +0000 (11:59 +0000)]
Add update to ejurgensen's pair_ap library. Thanks as always.
Fabrice Fontaine [Fri, 15 Oct 2021 06:20:12 +0000 (08:20 +0200)]
Fix build with automake 1.16.5. Thanks for Fabrice Fontaine for this.
Mike Brady [Wed, 8 Dec 2021 10:30:12 +0000 (10:30 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Copy in new developments.
Mike Brady [Wed, 8 Dec 2021 09:56:34 +0000 (09:56 +0000)]
Merge pull request #1367 from Lorilandly/development
fixed dependency on the `xxd` tool.
Thanks. I don't know how I missed that!
Lori Li [Wed, 8 Dec 2021 02:27:00 +0000 (11:27 +0900)]
fixed dependency
Mike Brady [Tue, 7 Dec 2021 21:36:56 +0000 (21:36 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Memory leak fixes, move play lock to the first setup, hold the timing peer list until a full teardown.
Mike Brady [Tue, 7 Dec 2021 21:34:53 +0000 (21:34 +0000)]
Add client and server ip metadata for AP2. Remove timing peer list and DACP code only for a full AP2 teardown.
Mike Brady [Tue, 7 Dec 2021 20:34:23 +0000 (20:34 +0000)]
Fix another memory leak.
Mike Brady [Tue, 7 Dec 2021 20:29:00 +0000 (20:29 +0000)]
Add a bogus exit for AP1 to make it easier to evaluate valgrind results.
Mike Brady [Tue, 7 Dec 2021 20:05:37 +0000 (20:05 +0000)]
Another memory leak.
Mike Brady [Tue, 7 Dec 2021 19:58:00 +0000 (19:58 +0000)]
Fix a few more memory leaks
Mike Brady [Tue, 7 Dec 2021 19:37:01 +0000 (19:37 +0000)]
Possibly fix a few memory leaks. Add a bogus exit to allow SPS to quit at the end of a play session, to make it easier to use valgrind.
Mike Brady [Tue, 7 Dec 2021 17:50:08 +0000 (17:50 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
A few small changes.
Mike Brady [Tue, 7 Dec 2021 17:49:04 +0000 (17:49 +0000)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Merge.
Mike Brady [Tue, 7 Dec 2021 17:47:45 +0000 (17:47 +0000)]
Stop checking that the timing peers are within the same subnet.
Mike Brady [Tue, 7 Dec 2021 17:37:16 +0000 (17:37 +0000)]
Quieten a few debug messasges.
Mike Brady [Tue, 7 Dec 2021 15:09:05 +0000 (15:09 +0000)]
stop removing the play lock at the end of a play session. That's the job of the rtsp thread.
Mike Brady [Tue, 7 Dec 2021 15:08:16 +0000 (15:08 +0000)]
quieten a debug message
Mike Brady [Tue, 7 Dec 2021 12:09:49 +0000 (12:09 +0000)]
Look for at least 0.1 seconds of leadtime, ensure a master clock is at least 0.275 seconds old before use, quieten a few debug messages.
Mike Brady [Tue, 7 Dec 2021 09:59:14 +0000 (09:59 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Just checking.
Mike Brady [Mon, 6 Dec 2021 18:45:25 +0000 (18:45 +0000)]
Clang Format
Mike Brady [Mon, 6 Dec 2021 18:16:57 +0000 (18:16 +0000)]
Add txtAirPlay data to info response. Don't pause long RTSP message reception.
Mike Brady [Mon, 6 Dec 2021 18:14:23 +0000 (18:14 +0000)]
Don't ask for cover art if not asking for metadata too. Duh.
Mike Brady [Mon, 6 Dec 2021 18:13:20 +0000 (18:13 +0000)]
Skip some invalid AAC packets, don't decode outdated frames, wait for timing information to be valid.
Mike Brady [Mon, 6 Dec 2021 18:09:29 +0000 (18:09 +0000)]
Wait for that mutex for longer. (Don't know why yet...)
Mike Brady [Mon, 6 Dec 2021 18:08:35 +0000 (18:08 +0000)]
Remember to add some exta fields later...
Mike Brady [Mon, 6 Dec 2021 18:03:42 +0000 (18:03 +0000)]
Stop clearing the timing peer list and stop removing the anchor clock info.
Mike Brady [Mon, 6 Dec 2021 15:48:03 +0000 (15:48 +0000)]
Merge pull request #1362 from mptre/mutex
Avoid a recursive mutex acquisition in the `sndio` backend.
Anton Lindqvist [Fri, 3 Dec 2021 19:45:51 +0000 (20:45 +0100)]
avoid recursive mutex acquisition in sndio backend
Ending a RTSP session while running on OpenBSD using sndio backend causes the
following crash:
#0 thrkill ()
#1 0x000005208224403e in _libc_abort
#2 0x00000520821b77be in _rthread_mutex_trylock
#3 _rthread_mutex_timedlock
#4 0x0000051e0d54e2c0 in stop ()
#5 0x0000051e0d544e85 in player_thread_cleanup_handler
#6 0x0000052082243126 in _libc_pthread_exit
#7 0x000005209a158700 in sigthr_handler
#8 <signal handler called>
#9 _thread_sys_poll ()
#10 0x000005208223533e in _libc_poll_cancel
#11 0x00000520df54c9a0 in sio_psleep
#12 0x00000520df54cc1f in sio_write
#13 0x0000051e0d54e27a in play
#14 0x0000051e0d547fc0 in player_thread_func
#15 0x000005209a158cc1 in _rthread_start
#16 0x000005208223565a in __tfork_thread
The player thread is blocking inside sio_write() -> poll(2) while the thread is
being terminated. The stop routine tied to the same backend is invoked through
player_thread_cleanup_handler() which tries to acquire the mutex which it
already acquired before invoking sio_write(). Avoiding blocking writes would
require switching to async I/O which is quite an undertaking.
The fact that there's only one `struct sio_hdl *' instance in the compilation
unit sort of implies there can only be one player thread at a time. Therefore
fix the crash by only trying to acquire the mutex and continue as usual if it's
already acquired.
Anton Lindqvist [Sun, 5 Dec 2021 08:00:23 +0000 (09:00 +0100)]
add missing includes on openbsd
Anton Lindqvist [Thu, 2 Dec 2021 11:07:55 +0000 (12:07 +0100)]
do not pass null to printf
OpenBSD issues a warning using syslog whenever NULL is passed as a variadic
argument to the printf-like family of functions.
Anton Lindqvist [Thu, 2 Dec 2021 11:07:14 +0000 (12:07 +0100)]
configure: openbsd is supported
Anton Lindqvist [Thu, 2 Dec 2021 10:57:40 +0000 (11:57 +0100)]
configure: fix handling of non linux operating systems
The OS whitelist conditional is malformed due to missing test(1) commands
causing the following error to be emitted during configure while using something
other than Linux:
../configure[3340]: xopenbsd: not found
Instead, favor a switch statement which makes the line a bit shorter as well.
Also, the AC_MSG_ERROR argument must be wrapped in brackets due to presence of a
comma. Otherwise, the tail will be interpreted as an additional argument.
Mike Brady [Thu, 2 Dec 2021 11:19:52 +0000 (11:19 +0000)]
clang format only
Mike Brady [Thu, 2 Dec 2021 11:17:59 +0000 (11:17 +0000)]
Set the timing peer list as soon as a SETPEERS message is received -- don't wait until play is about to begin. Not sure if it works universally yet.
Mike Brady [Thu, 2 Dec 2021 11:16:00 +0000 (11:16 +0000)]
Tidy up the statistics printout table and stop outputting (non existent) nominal fps for AP2 Realtime Streams.
Mike Brady [Wed, 1 Dec 2021 17:58:22 +0000 (17:58 +0000)]
Use PKG_CHECK_MODULES to find libavcodec, to make it work with Fedora 35 (?)
tecdude [Wed, 1 Dec 2021 17:16:15 +0000 (17:16 +0000)]
Update AIRPLAY2.md
Mike Brady [Wed, 1 Dec 2021 09:01:31 +0000 (09:01 +0000)]
Change behaviour after an unrecoverable error -- if not handled, exit Shairport Sync.
Mike Brady [Sun, 28 Nov 2021 21:51:26 +0000 (21:51 +0000)]
log statsistics headers whenever verbosity goes on or off or whenever statistics are requested
Mike Brady [Sun, 28 Nov 2021 16:13:32 +0000 (16:13 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Mike Brady [Sun, 28 Nov 2021 16:08:48 +0000 (16:08 +0000)]
Use CLOCK_MONOLITHIC_RAW to avoid NTP effects, report raw and corrected timing from audio_alsa. Clean up statistics. Stop watchdog timing out AP2 sessions. CLean up some debug messages.
Mike Brady [Fri, 26 Nov 2021 18:02:23 +0000 (18:02 +0000)]
Clang format
Mike Brady [Fri, 26 Nov 2021 18:01:36 +0000 (18:01 +0000)]
Quieten some debug messages.
Mike Brady [Fri, 26 Nov 2021 17:49:35 +0000 (17:49 +0000)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Merge a pull request and documentation update.
Mike Brady [Fri, 26 Nov 2021 17:43:48 +0000 (17:43 +0000)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Updated documentation.
Mike Brady [Fri, 26 Nov 2021 17:41:01 +0000 (17:41 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 26 Nov 2021 17:28:38 +0000 (17:28 +0000)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
update configure.ac
Mike Brady [Fri, 26 Nov 2021 17:28:20 +0000 (17:28 +0000)]
Merge pull request #1346 from fwcd/libplist-configure-fix
Try finding libplist as libplist-2.0 on Linux too.
Mike Brady [Fri, 26 Nov 2021 15:18:27 +0000 (15:18 +0000)]
Add some debug messages to help check the output rate calculations.
Mike Brady [Fri, 26 Nov 2021 15:17:27 +0000 (15:17 +0000)]
change stats to report non-zero if output has just opened or if there has been any discontinuity in play from previous time.
Mike Brady [Thu, 25 Nov 2021 18:13:56 +0000 (18:13 +0000)]
Remove the commas in the statistics logs -- easier to get into a spreadsheet.
Mike Brady [Thu, 25 Nov 2021 17:42:48 +0000 (17:42 +0000)]
Don't overwrite service files if they already exist.
fwcd [Wed, 24 Nov 2021 15:21:34 +0000 (16:21 +0100)]
Try finding libplist as libplist-2.0 on Linux too
Mike Brady [Sun, 21 Nov 2021 21:47:32 +0000 (21:47 +0000)]
Add code to check divisions and mods for a potrntial divide by zero problem. MAy cause SPS to terminate but leave a log message.
Mike Brady [Sat, 20 Nov 2021 15:11:57 +0000 (15:11 +0000)]
Don't display output FPS, as it's not clear how accurate it is...
Mike Brady [Sat, 20 Nov 2021 14:18:13 +0000 (14:18 +0000)]
Check for the stats function before allowing expanded stats info.
Mike Brady [Sat, 20 Nov 2021 13:59:16 +0000 (13:59 +0000)]
Add a 'stats' function to the audio back ends to replace the 'rate_info' function. Zero all except the alsa back end.
Mike Brady [Sat, 20 Nov 2021 12:14:23 +0000 (12:14 +0000)]
attempt to increase the precision of the FPS timing
Mike Brady [Wed, 17 Nov 2021 10:35:21 +0000 (10:35 +0000)]
Working to check for divide / mod by 0's
Mike Brady [Sun, 14 Nov 2021 15:13:54 +0000 (15:13 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Merge independent changes.
Mike Brady [Sun, 14 Nov 2021 15:03:19 +0000 (15:03 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 14 Nov 2021 14:13:31 +0000 (14:13 +0000)]
Update to the latest version of ejurgensen's pair_ap library. With thanks.
Mike Brady [Sun, 14 Nov 2021 11:43:16 +0000 (11:43 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 14 Nov 2021 11:18:39 +0000 (11:18 +0000)]
Fix a bug by ensuring certain ap2 variables are initialised by the player thread.
Mike Brady [Mon, 8 Nov 2021 10:14:42 +0000 (10:14 +0000)]
Try using the monotonic clock for checking output rate...
Mike Brady [Sat, 6 Nov 2021 18:32:26 +0000 (18:32 +0000)]
Ensure the frame rate calculator allows for silent frames added to disable standby. Clean up outmoded and unused stuff in audio_alsa.c. More to do.
Mike Brady [Tue, 2 Nov 2021 09:15:04 +0000 (09:15 +0000)]
Fix a bug that was causing a compiler warniong about a potentially uninitialised variable.
Mike Brady [Mon, 1 Nov 2021 08:46:21 +0000 (08:46 +0000)]
Merge pull request #1326 from a-x-/patch-2
typo(MQTT): Please not -> Please note
Alexander Mextner [Mon, 1 Nov 2021 06:18:57 +0000 (09:18 +0300)]
typo(MQTT): Please not -> Please note
Mike Brady [Sun, 24 Oct 2021 12:25:35 +0000 (13:25 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 Oct 2021 12:10:23 +0000 (13:10 +0100)]
Merge pull request #1314 from ffontaine/development
configure.ac: fix build with automake 1.16.5
Many thanks!
Mike Brady [Sun, 24 Oct 2021 10:37:10 +0000 (11:37 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot some online documentation updates.
Mike Brady [Sun, 24 Oct 2021 10:36:40 +0000 (11:36 +0100)]
slight tidying up
Mike Brady [Sun, 24 Oct 2021 10:28:46 +0000 (11:28 +0100)]
Update BUILDFORAP2.md
Mike Brady [Sun, 24 Oct 2021 10:22:36 +0000 (11:22 +0100)]
Update CAR INSTALL.md
Mike Brady [Sun, 24 Oct 2021 10:19:00 +0000 (11:19 +0100)]
Update CAR INSTALL.md
Mike Brady [Sun, 24 Oct 2021 10:17:23 +0000 (11:17 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 14:41:30 +0000 (15:41 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 13:47:05 +0000 (14:47 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 13:45:46 +0000 (14:45 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 13:16:32 +0000 (14:16 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 12:47:41 +0000 (13:47 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 12:36:24 +0000 (13:36 +0100)]
Update CAR INSTALL.md
Mike Brady [Sat, 23 Oct 2021 12:31:36 +0000 (13:31 +0100)]
Update CAR INSTALL.md
Mike Brady [Fri, 22 Oct 2021 18:52:36 +0000 (19:52 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 22 Oct 2021 18:36:31 +0000 (19:36 +0100)]
Return 501 "Not Implemented" for unexpected RTSP commands -- it seems to work better. The old code, 400, didn't seem to get the required response.
Fabrice Fontaine [Fri, 15 Oct 2021 06:20:12 +0000 (08:20 +0200)]
configure.ac: fix build with automake 1.16.5
Fix the following build failure with convolution raised since automake
1.16.5 and
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=
f4a3a70f69e1dbccb6578f39ef47835098a04624 :
configure.ac:305: error: AM_INIT_AUTOMAKE expanded multiple times
/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:6: the top level
/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:305: the top level
Fixes:
- http://autobuild.buildroot.org/results/
464148bdccb705d8992dc860262bfdeb01b7e2a1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Mike Brady [Mon, 11 Oct 2021 17:04:33 +0000 (19:04 +0200)]
Update BUILDFORAP1.md
Mike Brady [Thu, 30 Sep 2021 18:28:39 +0000 (19:28 +0100)]
Update README.md
Mike Brady [Thu, 30 Sep 2021 18:23:52 +0000 (19:23 +0100)]
Update README.md