]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
3 years agoFix brackets around plist.h
Mike Brady [Mon, 23 May 2022 09:29:15 +0000 (10:29 +0100)] 
Fix brackets around plist.h

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 23 May 2022 09:19:55 +0000 (10:19 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoUse a simpler (?) method for checking if a mutex is taking too long.
Mike Brady [Sun, 22 May 2022 21:20:05 +0000 (22:20 +0100)] 
Use a simpler (?) method for checking if a mutex is taking too long.

3 years agoOpen the codec context before checking if the codec can support fltp format.
Mike Brady [Sun, 22 May 2022 21:18:39 +0000 (22:18 +0100)] 
Open the codec context before checking if the codec can support fltp format.

3 years agoTemporarily disable the AAC checker.
Mike Brady [Sun, 22 May 2022 20:34:26 +0000 (21:34 +0100)] 
Temporarily disable the AAC checker.

3 years agoCheck for the appropriate AAC decoder at startup and in the help section.
Mike Brady [Sun, 22 May 2022 15:22:23 +0000 (16:22 +0100)] 
Check for the appropriate AAC decoder at startup and in the help section.

3 years agoRemove misleading (obselete) comment.
Mike Brady [Sun, 22 May 2022 14:36:39 +0000 (15:36 +0100)] 
Remove misleading (obselete) comment.

3 years agoCheck that the AAC decoder can do fltp decoding. Need to do more of this kind of...
Mike Brady [Sun, 22 May 2022 10:32:36 +0000 (11:32 +0100)] 
Check that the AAC decoder can do fltp decoding. Need to do more of this kind of checking at startup!

3 years agoUpdate FREEBSD.md
Mike Brady [Fri, 20 May 2022 11:52:37 +0000 (12:52 +0100)] 
Update FREEBSD.md

3 years agoStop using libdaemon and use FreeBSD's daemon utility to deamonise and control shairp...
Mike Brady [Fri, 20 May 2022 11:30:08 +0000 (12:30 +0100)] 
Stop using libdaemon and use FreeBSD's daemon utility to deamonise and control shairport sync.

3 years agoUpdate FREEBSD.md
Mike Brady [Thu, 19 May 2022 23:09:48 +0000 (00:09 +0100)] 
Update FREEBSD.md

3 years agouse pthread push/pull to cleanly kill this code. add a stats function -- not quite...
Mike Brady [Thu, 19 May 2022 19:24:30 +0000 (20:24 +0100)] 
use pthread push/pull to cleanly kill this code. add a stats function -- not quite working yet.

3 years agotidy up the timed mutex stuff.
Mike Brady [Thu, 19 May 2022 17:11:52 +0000 (18:11 +0100)] 
tidy up the timed mutex stuff.

3 years agoOnly stop the activity monitor once, duh, and correct a debug message.
Mike Brady [Thu, 19 May 2022 17:08:45 +0000 (18:08 +0100)] 
Only stop the activity monitor once, duh, and correct a debug message.

3 years agoFix a typo.
Mike Brady [Thu, 19 May 2022 17:07:32 +0000 (18:07 +0100)] 
Fix a typo.

3 years agoShorten the timeout on the SMI to 10 ms.
Mike Brady [Wed, 18 May 2022 21:32:52 +0000 (22:32 +0100)] 
Shorten the timeout on the SMI to 10 ms.

3 years agoSimplify mutex timeout checking. Use CLOCK_MONOTONIC if CLOCK_MONOTONIC_RAW is not...
Mike Brady [Wed, 18 May 2022 21:31:49 +0000 (22:31 +0100)] 
Simplify mutex timeout checking. Use CLOCK_MONOTONIC if CLOCK_MONOTONIC_RAW is not available.

3 years agoPartially clean up some mutex diagnostic stuff.
Mike Brady [Wed, 18 May 2022 18:37:18 +0000 (19:37 +0100)] 
Partially clean up some mutex diagnostic stuff.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 18 May 2022 10:10:58 +0000 (11:10 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoIf statistics are enabled, log when a play starts and what type the stream is.
Mike Brady [Wed, 18 May 2022 10:05:28 +0000 (11:05 +0100)] 
If statistics are enabled, log when a play starts and what type the stream is.

3 years agoEnsure the AP2 Buffered Stream buffer size is hidden when playing an AP1 stream in...
Mike Brady [Wed, 18 May 2022 09:03:01 +0000 (10:03 +0100)] 
Ensure the AP2 Buffered Stream buffer size is hidden when playing an AP1 stream in AP2 mode.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 17 May 2022 16:53:28 +0000 (17:53 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoquieten some debug messages.
Mike Brady [Tue, 17 May 2022 16:50:46 +0000 (17:50 +0100)] 
quieten some debug messages.

3 years agoQuieten a debug message.
Mike Brady [Tue, 17 May 2022 16:32:24 +0000 (17:32 +0100)] 
Quieten a debug message.

3 years agoSmall cosmetic changes.
Mike Brady [Tue, 17 May 2022 15:39:13 +0000 (16:39 +0100)] 
Small cosmetic changes.

3 years agoQuieten some debug messages. Remove some redundant code.
Mike Brady [Tue, 17 May 2022 14:49:01 +0000 (15:49 +0100)] 
Quieten some debug messages. Remove some redundant code.

3 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Tue, 17 May 2022 12:52:21 +0000 (13:52 +0100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot documentation update, duh.

3 years agoA little more debug information.
Mike Brady [Tue, 17 May 2022 12:51:29 +0000 (13:51 +0100)] 
A little more debug information.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 14 May 2022 11:03:08 +0000 (12:03 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 14 May 2022 09:24:27 +0000 (10:24 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoGreatly simplify dealing with a new anchor clock -- basically, accept a new anchor...
Mike Brady [Sat, 14 May 2022 09:05:38 +0000 (19:05 +1000)] 
Greatly simplify dealing with a new anchor clock -- basically, accept a new anchor clock immediately, without delay. A new master clock is accepted after 5 seconds. If the anchor clock changes as it may in a realtime stream, it will change within one second of the master clock, and the 5 second delay will be skipped. Discard the first two seconds of audio within the first two seconds of a connection being made. This is to allow the clocks to settle and stabilise. Debug message changes.

3 years agoreset anchor information when setanchorinfo stops play -- clock information is no...
Mike Brady [Sat, 14 May 2022 09:00:46 +0000 (19:00 +1000)] 
reset anchor information when setanchorinfo stops play -- clock information is no longer valid. Store time of initial connection (this is when we can be sure the PTP clock has started).

3 years agoRemove a slightly alarming and incorrect warning. Old information is dealt with elsew...
Mike Brady [Sat, 14 May 2022 08:59:06 +0000 (18:59 +1000)] 
Remove a slightly alarming and incorrect warning. Old information is dealt with elsewhere.

3 years agoChange playstart to a 64-but unsigned int. Store time of start of connection (for...
Mike Brady [Sat, 14 May 2022 08:58:05 +0000 (18:58 +1000)] 
Change playstart to a 64-but unsigned int. Store time of start of connection (for initial muting). Remove a redundant flag.

3 years agoSmall alterations in how play time is calculated. Debug and format changes.
Mike Brady [Sat, 14 May 2022 08:56:35 +0000 (18:56 +1000)] 
Small alterations in how play time is calculated. Debug and format changes.

3 years agoUpdate README.md 1470/head
Paul [Mon, 2 May 2022 15:13:57 +0000 (17:13 +0200)] 
Update README.md

The port for Shairport Sync was committed to the OpenBSD ports tree recently. It's a pretty vanilla port, one small patch moves the manpage to section 1; a dedicated user is configured (_shairport), and an rc-script is provided to start the service at boot.

Thank you!

3 years agoAdd info about reliance on avahi-publish-service 1464/head
nicsuzor [Mon, 25 Apr 2022 08:09:02 +0000 (18:09 +1000)] 
Add info about reliance on avahi-publish-service

For people who need to use `--with-external-mdns` (particularly installing in a container on a host where avahi already exists), they should ensure they have avahi-publish-service available.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 5 Apr 2022 06:33:13 +0000 (07:33 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoRemove the requirement for Avahi in the systemd startup file unless Avahi is included...
Mike Brady [Tue, 5 Apr 2022 06:22:34 +0000 (07:22 +0100)] 
Remove the requirement for Avahi in the systemd startup file unless Avahi is included in the build.

3 years agoUpdate TROUBLESHOOTING.md
Mike Brady [Mon, 4 Apr 2022 11:29:17 +0000 (12:29 +0100)] 
Update TROUBLESHOOTING.md

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 3 Apr 2022 09:43:49 +0000 (10:43 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoImprove the logic for supressing clicks when the alsa disable_standby_mode is active.
Mike Brady [Sun, 3 Apr 2022 09:35:48 +0000 (10:35 +0100)] 
Improve the logic for supressing clicks when the alsa disable_standby_mode is active.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 22 Mar 2022 08:02:36 +0000 (19:02 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoAdd two new metadata 'ssnc' codes: 'conn' for AirPlay 2 connect, sent before killing...
Mike Brady [Tue, 22 Mar 2022 07:53:01 +0000 (18:53 +1100)] 
Add two new metadata 'ssnc' codes: 'conn' for AirPlay 2 connect, sent before killing any current play session, and 'disc' for AirPlay 2 disconnect. Might be useful for amplifier switching, etc.

3 years agoSimplify a comment.
Mike Brady [Tue, 22 Mar 2022 07:49:58 +0000 (18:49 +1100)] 
Simplify a comment.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 21 Mar 2022 22:18:28 +0000 (09:18 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoRemember to close() the coverart directory file when finished iterating through it...
Mike Brady [Mon, 21 Mar 2022 22:12:35 +0000 (09:12 +1100)] 
Remember to close() the coverart directory file when finished iterating through it to delete prior coverart files.

3 years agoQuieten a few debug messages.
Mike Brady [Wed, 16 Mar 2022 01:51:00 +0000 (12:51 +1100)] 
Quieten a few debug messages.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 16 Mar 2022 01:43:17 +0000 (12:43 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 16 Mar 2022 01:42:48 +0000 (12:42 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoClean up some of the code for accepting or diacarding buffered audio depending on...
Mike Brady [Wed, 16 Mar 2022 01:38:05 +0000 (12:38 +1100)] 
Clean up some of the code for accepting or diacarding buffered audio depending on its timeliness.

3 years agoList the total number of frames sent to DAC and current DAC delay to diagnostics...
Mike Brady [Tue, 15 Mar 2022 23:21:54 +0000 (10:21 +1100)] 
List the total number of frames sent to DAC and current DAC delay to diagnostics when a large sync error occurs. Stop listing the total number of packets in statistics.

3 years agoAlways record frames successfully sent to DAC even if they are less than requested.
Mike Brady [Tue, 15 Mar 2022 23:19:15 +0000 (10:19 +1100)] 
Always record frames successfully sent to DAC even if they are less than requested.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 15 Mar 2022 01:40:21 +0000 (12:40 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoAllow for a longer group ID string. Fixes an issue with playing from a HomePod mini...
Mike Brady [Tue, 15 Mar 2022 01:31:37 +0000 (12:31 +1100)] 
Allow for a longer group ID string. Fixes an issue with playing from a HomePod mini on homeOS 15.4.

3 years agoClang Format
Mike Brady [Mon, 14 Mar 2022 00:56:43 +0000 (11:56 +1100)] 
Clang Format

3 years agoRemove a diagnostic setting.
Mike Brady [Mon, 14 Mar 2022 00:53:48 +0000 (11:53 +1100)] 
Remove a diagnostic setting.

3 years agoQuieten two debug messages.
Mike Brady [Sun, 13 Mar 2022 02:29:55 +0000 (13:29 +1100)] 
Quieten two debug messages.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 13 Mar 2022 01:42:18 +0000 (12:42 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoAdd buffer size to statistcs information for a Buffered Audio stream.
Mike Brady [Sun, 13 Mar 2022 01:33:53 +0000 (12:33 +1100)] 
Add buffer size to statistcs information for a Buffered Audio stream.

3 years agoUpdate MOREINFO.md
Mike Brady [Sun, 13 Mar 2022 01:33:01 +0000 (12:33 +1100)] 
Update MOREINFO.md

3 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Fri, 11 Mar 2022 06:04:09 +0000 (17:04 +1100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development

forgot some online documentation updates.

3 years agoQuieten a few debug messages.
Mike Brady [Fri, 11 Mar 2022 06:03:49 +0000 (17:03 +1100)] 
Quieten a few debug messages.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 11 Mar 2022 05:14:49 +0000 (16:14 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Fri, 11 Mar 2022 04:53:44 +0000 (15:53 +1100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot some online documentation updates.

3 years agoRemove the illegal "Provides" entry.
Mike Brady [Thu, 10 Mar 2022 22:38:59 +0000 (09:38 +1100)] 
Remove the illegal "Provides" entry.

3 years agoUpdate BUILDFORAP2.md
Mike Brady [Thu, 10 Mar 2022 08:30:46 +0000 (19:30 +1100)] 
Update BUILDFORAP2.md

3 years agoUpdate TROUBLESHOOTING.md
Mike Brady [Thu, 10 Mar 2022 08:27:13 +0000 (19:27 +1100)] 
Update TROUBLESHOOTING.md

3 years agoCreate ADDINGTOHOME.md
Mike Brady [Thu, 10 Mar 2022 08:25:04 +0000 (19:25 +1100)] 
Create ADDINGTOHOME.md

3 years agoChange debugging of RTSP messages to quieten POST as well as OPTION logging.
Mike Brady [Thu, 10 Mar 2022 06:44:16 +0000 (17:44 +1100)] 
Change debugging of RTSP messages to quieten POST as well as OPTION logging.

3 years agoHandle keep_dac_busy correctly if disable_standby_mode is disable_standby_auto.
Mike Brady [Thu, 10 Mar 2022 06:43:12 +0000 (17:43 +1100)] 
Handle keep_dac_busy correctly if disable_standby_mode is disable_standby_auto.

3 years agomake close() a separate function and make flush do a close if we don't have to keep...
Mike Brady [Thu, 10 Mar 2022 06:41:53 +0000 (17:41 +1100)] 
make close() a separate function and make flush do a close if we don't have to keep the dac active.

3 years agoCheck to see if the alsa_handle is NULL in standard_delay_and_status. Don't see how...
Mike Brady [Mon, 7 Mar 2022 05:23:59 +0000 (16:23 +1100)] 
Check to see if the alsa_handle is NULL in standard_delay_and_status. Don't see how it could happen though.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 7 Mar 2022 02:35:02 +0000 (13:35 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Mon, 7 Mar 2022 02:32:35 +0000 (13:32 +1100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development

Forgot online updates.

3 years agoCheck to see if the alsa_handle is NULL in precision_delay_and_status. Don't see...
Mike Brady [Mon, 7 Mar 2022 02:32:16 +0000 (13:32 +1100)] 
Check to see if the alsa_handle is NULL in precision_delay_and_status. Don't see how it could happen though.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 3 Mar 2022 23:08:18 +0000 (10:08 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoCheck for NULL pointers before deferencing delay and state variable pointers in audio...
Mike Brady [Thu, 3 Mar 2022 23:02:40 +0000 (10:02 +1100)] 
Check for NULL pointers before deferencing delay and state variable pointers in audio_alsa.c's delay and delay_and_status functions.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 2 Mar 2022 09:24:59 +0000 (20:24 +1100)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoFix a bug that caused a crash if an incorrect wait_for_completion option was chosen...
Mike Brady [Tue, 1 Mar 2022 22:30:06 +0000 (09:30 +1100)] 
Fix a bug that caused a crash if an incorrect wait_for_completion option was chosen. Fixed a few similar bugs too.

3 years agoFIx a misspelled comment
Mike Brady [Tue, 1 Mar 2022 22:29:09 +0000 (09:29 +1100)] 
FIx a misspelled comment

3 years agoRemove redundant ptp_access_mutex mutex -- don't need it anymore.
Mike Brady [Mon, 28 Feb 2022 07:09:19 +0000 (18:09 +1100)] 
Remove redundant ptp_access_mutex mutex -- don't need it anymore.

3 years agoDie if the NQPTP service is absent when trying to start a play session.
Mike Brady [Mon, 28 Feb 2022 07:06:49 +0000 (18:06 +1100)] 
Die if the NQPTP service is absent when trying to start a play session.

3 years agoDeclare the service provided.
Mike Brady [Mon, 28 Feb 2022 07:04:55 +0000 (18:04 +1100)] 
Declare the service provided.

3 years agoFix a diagnostic message.
Mike Brady [Mon, 28 Feb 2022 07:00:25 +0000 (18:00 +1100)] 
Fix a diagnostic message.

3 years agoClean up ptp_shm_interface_open and add code to warn if the timing sample shared...
Mike Brady [Mon, 28 Feb 2022 06:59:43 +0000 (17:59 +1100)] 
Clean up ptp_shm_interface_open and add code to warn if the timing sample shared in the shm is too old -- may indicate NQPTP is gone.

3 years agoWait for two seconds for the NQPTP service to appear.
Mike Brady [Mon, 28 Feb 2022 06:58:15 +0000 (17:58 +1100)] 
Wait for two seconds for the NQPTP service to appear.

3 years agoexperiment with different startup regimes
Mike Brady [Sun, 27 Feb 2022 23:59:41 +0000 (10:59 +1100)] 
experiment with different startup regimes

3 years agoAdd the opening of the shm interface to the startup process and die if it can't be...
Mike Brady [Sun, 27 Feb 2022 10:23:14 +0000 (21:23 +1100)] 
Add the opening of the shm interface to the startup process and die if it can't be done. Quieten some debug messages.

3 years agoRequire NQPTP to be running and create the SHM interface at startup.
Mike Brady [Sun, 27 Feb 2022 02:00:03 +0000 (13:00 +1100)] 
Require NQPTP to be running and create the SHM interface at startup.

3 years agoAdd a special-purpose flush routine called sub_flush. It doesn't close the device...
Mike Brady [Sat, 26 Feb 2022 08:33:19 +0000 (08:33 +0000)] 
Add a special-purpose flush routine called sub_flush. It doesn't close the device ever.

3 years agoRedesign the ptp shm utilities to cater for opening once and closing once but potenti...
Mike Brady [Sat, 26 Feb 2022 08:32:15 +0000 (08:32 +0000)] 
Redesign the ptp shm utilities to cater for opening once and closing once but potentially called for opening many times.

3 years agoAlways try to open the shm interface when needed -- it should be already open, but...
Mike Brady [Sat, 26 Feb 2022 08:28:49 +0000 (08:28 +0000)] 
Always try to open the shm interface when needed -- it should be already open, but ya never know.

3 years agoOpen the SHM instrface atstartup and close it on shutdown.
Mike Brady [Sat, 26 Feb 2022 08:27:45 +0000 (08:27 +0000)] 
Open the SHM instrface atstartup and close it on shutdown.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 12 Feb 2022 13:41:35 +0000 (13:41 +0000)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoDon't try to decode commands at debug level 2 -- leave it to level 3.
Mike Brady [Sat, 12 Feb 2022 13:39:19 +0000 (13:39 +0000)] 
Don't try to decode commands at debug level 2 -- leave it to level 3.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 7 Feb 2022 12:57:22 +0000 (12:57 +0000)] 
Update RELEASENOTES-DEVELOPMENT.md

3 years agoQuieten a compiler warning -- might not work.
Mike Brady [Mon, 7 Feb 2022 12:37:49 +0000 (12:37 +0000)] 
Quieten a compiler warning -- might not work.

3 years agoMQTT -- add code to deal with empty payloads by adding a dummy payload to empty messa...
Mike Brady [Mon, 7 Feb 2022 12:36:08 +0000 (12:36 +0000)] 
MQTT -- add code to deal with empty payloads by adding a dummy payload to empty messages by default.

3 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 1 Feb 2022 15:57:36 +0000 (15:57 +0000)] 
Update RELEASENOTES-DEVELOPMENT.md