]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
8 years agoMerge fix-clip 431/head
jneubrand [Sat, 26 Nov 2016 19:48:03 +0000 (11:48 -0800)] 
Merge fix-clip

8 years agoMerge pull request #428 from joerg-krause/patch-2
Mike Brady [Sat, 26 Nov 2016 13:07:20 +0000 (13:07 +0000)] 
Merge pull request #428 from joerg-krause/patch-2

Add avahi client error handling. Thanks. It may also have relevance to #319.

8 years agomdns: avahi: handle avahi client failure 428/head
Jörg Krause [Thu, 24 Nov 2016 13:48:03 +0000 (14:48 +0100)] 
mdns: avahi: handle avahi client failure

Handle the avahi client failure so that in case of a restart of the avahi
daemon the shairport-sync daemon has not to be restarted, too.

The handling is based on the error handling of avahi-publish [1].

[1]
https://github.com/lathiat/avahi/blob/master/avahi-utils/avahi-publish.c#L156-L179

8 years agomdns: avahi: set AVAHI_CLIENT_NO_FAIL in avahi_client_new()
Jörg Krause [Thu, 24 Nov 2016 11:34:11 +0000 (12:34 +0100)] 
mdns: avahi: set AVAHI_CLIENT_NO_FAIL in avahi_client_new()

For whatever reasons `avahi_client_new` passes the value `0` as its
second parameter. However, the second parameter is of type
[`AvahiClientFlags`](http://avahi.org/doxygen/html/client_8h_source.html#l00048)
with the possible values:

``` c
typedef enum {
    AVAHI_CLIENT_IGNORE_USER_CONFIG = 1,
    AVAHI_CLIENT_NO_FAIL = 2
} AvahiClientFlags;
```

Setting `AVAHI_CLIENT_NO_FAIL` has the benefit that the shairport-sync
daemon does not depend on the order of the init process whether the
avahi daemon is already up.

8 years ago3.0d16 – 24-bit three-byte support
Mike Brady [Wed, 28 Sep 2016 11:10:38 +0000 (12:10 +0100)] 
3.0d16 – 24-bit three-byte support

Untested.

8 years ago3.0d16 – added 24-bit three-byte support
Mike Brady [Wed, 28 Sep 2016 11:02:25 +0000 (12:02 +0100)] 
3.0d16 – added 24-bit three-byte support

Untested!

8 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Wed, 28 Sep 2016 10:59:33 +0000 (11:59 +0100)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot about online updates...

8 years agoAdd *untested* support for S24_3LE and S24_3BE output format.
Mike Brady [Wed, 28 Sep 2016 10:57:44 +0000 (11:57 +0100)] 
Add *untested* support for S24_3LE and S24_3BE output format.

8 years agoAdd *untested* support for S24_3LE and S24_3BE output format.
Mike Brady [Wed, 28 Sep 2016 10:49:11 +0000 (11:49 +0100)] 
Add *untested* support for S24_3LE and S24_3BE output format.

8 years agoAdd *untested* support for S24_3LE and S24_3BE output format.
Mike Brady [Wed, 28 Sep 2016 10:47:44 +0000 (11:47 +0100)] 
Add *untested* support for S24_3LE and S24_3BE output format.

8 years agoVersion 3.0!
Mike Brady [Tue, 27 Sep 2016 16:09:10 +0000 (17:09 +0100)] 
Version 3.0!

8 years agoVersion 3.0!
Mike Brady [Tue, 27 Sep 2016 16:04:20 +0000 (17:04 +0100)] 
Version 3.0!

8 years agoVersion 3.0!
Mike Brady [Tue, 27 Sep 2016 16:03:49 +0000 (17:03 +0100)] 
Version 3.0!

8 years ago3.0d15!
Mike Brady [Tue, 27 Sep 2016 15:59:39 +0000 (16:59 +0100)] 
3.0d15!

8 years agoVersion 3.0d!
Mike Brady [Tue, 27 Sep 2016 15:52:45 +0000 (16:52 +0100)] 
Version 3.0d!

8 years agoFix a few typos in the comments
Mike Brady [Tue, 27 Sep 2016 15:24:41 +0000 (16:24 +0100)] 
Fix a few typos in the comments

8 years agoMerge remote-tracking branch 'upstream/development' into development
Mike Brady [Mon, 26 Sep 2016 15:42:33 +0000 (16:42 +0100)] 
Merge remote-tracking branch 'upstream/development' into development
Merging 3.0d to 2.8.4.8

8 years agoIf sync disabled on the alsa device, don't keep asking for buffer length. Also emit...
Mike Brady [Wed, 21 Sep 2016 19:58:36 +0000 (20:58 +0100)] 
If sync disabled on the alsa device, don't keep asking for buffer length. Also emit sender IP number as metadata.

8 years agoIf sync disabled on the alsa device, don't keep asking for buffer length. Also emit...
Mike Brady [Wed, 21 Sep 2016 19:57:33 +0000 (20:57 +0100)] 
If sync disabled on the alsa device, don't keep asking for buffer length. Also emit sender IP number as metadata.

8 years agoUpdate RELEASENOTES.md 2.8.4.8
Mike Brady [Tue, 20 Sep 2016 14:26:19 +0000 (15:26 +0100)] 
Update RELEASENOTES.md

8 years agoAdd client IP metadata item -- the IP of the client, i.e. the sender of audio, is...
Mike Brady [Tue, 20 Sep 2016 14:18:41 +0000 (15:18 +0100)] 
Add client IP metadata item -- the IP of the client, i.e. the sender of audio, is output when a pley session is about to start, as a 'ssnc' 'clip' string. Also, stop asking for buffer size if sync is disabled.

8 years agoAdd client IP metadata item -- the IP of the client, i.e. the sender of audio, is...
Mike Brady [Tue, 20 Sep 2016 14:17:28 +0000 (15:17 +0100)] 
Add client IP metadata item -- the IP of the client, i.e. the sender of audio, is output when a pley session is about to start, as a 'ssnc' 'clip' string. Also, stop asking for buffer size if sync is disabled.

8 years agoChange names of drift, resync, alsa buffer offset and alsa buffer length to distingui...
Mike Brady [Sun, 18 Sep 2016 13:54:46 +0000 (14:54 +0100)] 
Change names of drift, resync, alsa buffer offset and alsa buffer length to distinguish them from the old 44100-based settings. Add warning messages.

8 years agoTidy up source with clang-format
Mike Brady [Sun, 18 Sep 2016 12:08:36 +0000 (13:08 +0100)] 
Tidy up source with clang-format

8 years agoChange names of drift, resync, alsa buffer offset and alsa buffer length to distingui...
Mike Brady [Sun, 18 Sep 2016 11:56:22 +0000 (12:56 +0100)] 
Change names of drift, resync, alsa buffer offset and alsa buffer length to distinguish them from the old 44100-based settings. Add warning messages.

8 years agoGet different playback modes working and update the configuration sample
Mike Brady [Thu, 15 Sep 2016 16:43:13 +0000 (17:43 +0100)] 
Get different playback modes working and update the configuration sample

8 years agoFix error checking of alsa latency and buffer legth settings.
Mike Brady [Tue, 13 Sep 2016 11:19:28 +0000 (12:19 +0100)] 
Fix error checking of alsa latency and buffer legth settings.

8 years agoMake endian-independent. Allow users to specify only U8/S8/S16/S24/S32
Mike Brady [Mon, 12 Sep 2016 21:17:41 +0000 (22:17 +0100)] 
Make endian-independent. Allow users to specify only U8/S8/S16/S24/S32

8 years agoMake endian-independent. Allow users to specify only U8/S8/S16/S24/S32
Mike Brady [Mon, 12 Sep 2016 21:01:57 +0000 (22:01 +0100)] 
Make endian-independent. Allow users to specify only U8/S8/S16/S24/S32

8 years agotrying to get a sane build numbering system. 'd' for 'development'...
Mike Brady [Sun, 11 Sep 2016 14:50:17 +0000 (15:50 +0100)] 
trying to get a sane build numbering system. 'd' for 'development'...

8 years agoSoxr interpolation working. Dithering seems to work. Software volume seems to work
Mike Brady [Sun, 11 Sep 2016 14:44:51 +0000 (15:44 +0100)] 
Soxr interpolation working. Dithering seems to work. Software volume seems to work

8 years agoformat player.c
Mike Brady [Sun, 11 Sep 2016 14:42:33 +0000 (15:42 +0100)] 
format player.c

8 years agoFix 8-bit dithering, fix software volume control
Mike Brady [Sun, 11 Sep 2016 14:40:59 +0000 (15:40 +0100)] 
Fix 8-bit dithering, fix software volume control

8 years agoSoxr interpolation working.
Mike Brady [Sun, 11 Sep 2016 10:33:37 +0000 (11:33 +0100)] 
Soxr interpolation working.

8 years agoTidy up with a clang-format
Mike Brady [Sun, 11 Sep 2016 09:35:53 +0000 (10:35 +0100)] 
Tidy up with a clang-format

8 years agoBeginning to work, also added S8 and U8 support as VMWare Fusion and the Pi both...
Mike Brady [Sat, 10 Sep 2016 18:00:57 +0000 (19:00 +0100)] 
Beginning to work, also added S8 and U8 support as VMWare Fusion and the Pi both offer them

8 years agoAdd initial support for U8 and S8 formats
Mike Brady [Sat, 10 Sep 2016 17:59:53 +0000 (18:59 +0100)] 
Add initial support for U8 and S8 formats

8 years agoSome bug fixes and hacks. Not working.
Mike Brady [Fri, 9 Sep 2016 11:34:21 +0000 (12:34 +0100)] 
Some bug fixes and hacks. Not working.

8 years agoNew backend for converting 32-bit "native" samples to output format ready for testing
Mike Brady [Thu, 8 Sep 2016 20:53:48 +0000 (21:53 +0100)] 
New backend for converting 32-bit "native" samples to output format ready for testing

8 years agoNew backend for converting 32-bit "native" samples to output format ready for testing
Mike Brady [Thu, 8 Sep 2016 20:53:19 +0000 (21:53 +0100)] 
New backend for converting 32-bit "native" samples to output format ready for testing

8 years agoBegin to add full-scale post processing. Does not compile.
Mike Brady [Thu, 8 Sep 2016 14:56:22 +0000 (15:56 +0100)] 
Begin to add full-scale post processing. Does not compile.

9 years agoGet dither mask working right
Mike Brady [Thu, 8 Sep 2016 06:57:28 +0000 (07:57 +0100)] 
Get dither mask working right

9 years agoRemove mersenne generator -- too slow, try another one
Mike Brady [Wed, 7 Sep 2016 15:55:14 +0000 (16:55 +0100)] 
Remove mersenne generator -- too slow, try another one

9 years agoRemove prng initialisation code -- it's not needed
Mike Brady [Wed, 7 Sep 2016 08:14:35 +0000 (09:14 +0100)] 
Remove prng initialisation code -- it's not needed

9 years agoAdd a fancy 64-bit pseudo random number generator -- thanks to its developers
Mike Brady [Wed, 7 Sep 2016 08:07:09 +0000 (09:07 +0100)] 
Add a fancy 64-bit pseudo random number generator -- thanks to its developers

9 years agoAdd a fancy 64-bit pseudo random number generator -- thanks to its developers
Mike Brady [Wed, 7 Sep 2016 08:05:43 +0000 (09:05 +0100)] 
Add a fancy 64-bit pseudo random number generator -- thanks to its developers

9 years agoPreliminary support for 32-bit stuffing
Mike Brady [Mon, 5 Sep 2016 21:35:53 +0000 (22:35 +0100)] 
Preliminary support for 32-bit stuffing

9 years agoPreliminary support for 32-bit stuffing
Mike Brady [Mon, 5 Sep 2016 21:35:44 +0000 (22:35 +0100)] 
Preliminary support for 32-bit stuffing

9 years agoFix silence bug and hack code to avoid the stuff procedures
Mike Brady [Mon, 5 Sep 2016 16:11:46 +0000 (17:11 +0100)] 
Fix silence bug and hack code to avoid the stuff procedures

9 years agoFix silence bug and hack code to avoid the stuff procedures
Mike Brady [Mon, 5 Sep 2016 16:11:30 +0000 (17:11 +0100)] 
Fix silence bug and hack code to avoid the stuff procedures

9 years agoStop multiplying monotonic timestamps by the output to input sampling ratio
Mike Brady [Mon, 5 Sep 2016 14:24:59 +0000 (15:24 +0100)] 
Stop multiplying monotonic timestamps by the output to input sampling ratio

9 years agoFix small bug introduced moving over to time-based settings
Mike Brady [Mon, 5 Sep 2016 14:23:31 +0000 (15:23 +0100)] 
Fix small bug introduced moving over to time-based settings

9 years agoChange over to times as opposed to frames for setting timing options
Mike Brady [Sun, 4 Sep 2016 18:52:58 +0000 (19:52 +0100)] 
Change over to times as opposed to frames for setting timing options

9 years agoChange over to times as opposed to frames for setting timing options
Mike Brady [Sun, 4 Sep 2016 18:37:22 +0000 (19:37 +0100)] 
Change over to times as opposed to frames for setting timing options

9 years agoWorking reliably with all 16-bit speeds
Mike Brady [Sun, 4 Sep 2016 15:35:39 +0000 (16:35 +0100)] 
Working reliably with all 16-bit speeds

9 years agoWorking reliably with all 16-bit speeds
Mike Brady [Sun, 4 Sep 2016 15:34:56 +0000 (16:34 +0100)] 
Working reliably with all 16-bit speeds

9 years agoAdding rate and format transformation stuff
Mike Brady [Sun, 4 Sep 2016 12:30:12 +0000 (13:30 +0100)] 
Adding rate and format transformation stuff

9 years agoAdd code to change format from 16 to 24 and 32 bit and to change sample rates
Mike Brady [Sun, 4 Sep 2016 12:29:11 +0000 (13:29 +0100)] 
Add code to change format from 16 to 24 and 32 bit and to change sample rates

9 years agoFix a few little bugs associated with outputing at a higher rate
Mike Brady [Fri, 2 Sep 2016 16:29:24 +0000 (17:29 +0100)] 
Fix a few little bugs associated with outputing at a higher rate

9 years agoEnable 64-bit monotonic rtptime calculations
Mike Brady [Fri, 2 Sep 2016 15:53:52 +0000 (16:53 +0100)] 
Enable 64-bit monotonic rtptime calculations

9 years agoAdd more support for monotonic 64-bit timestamps and frame sequence numbers
Mike Brady [Fri, 2 Sep 2016 12:48:39 +0000 (13:48 +0100)] 
Add more support for monotonic 64-bit timestamps and frame sequence numbers

9 years agoBegin to add support for monotonic 64-bit timestamps and frame sequence numbers
Mike Brady [Fri, 2 Sep 2016 11:22:38 +0000 (12:22 +0100)] 
Begin to add support for monotonic 64-bit timestamps and frame sequence numbers

9 years agoApple ALAC decoder not working -- magic cookie contents are faulty.
Mike Brady [Tue, 30 Aug 2016 22:33:08 +0000 (23:33 +0100)] 
Apple ALAC decoder not working -- magic cookie contents are faulty.

9 years agoSmall improvements
Mike Brady [Tue, 30 Aug 2016 21:09:01 +0000 (22:09 +0100)] 
Small improvements

9 years agoMake the decoder choice a bit more general, highlight names of input format parameters
Mike Brady [Tue, 30 Aug 2016 21:01:05 +0000 (22:01 +0100)] 
Make the decoder choice a bit more general, highlight names of input format parameters

9 years agoMerge support of apple's ALAC decoder
Mike Brady [Sun, 28 Aug 2016 20:38:24 +0000 (21:38 +0100)] 
Merge support of apple's ALAC decoder

9 years agoMake it compile -- untested
Mike Brady [Wed, 24 Aug 2016 15:30:02 +0000 (16:30 +0100)] 
Make it compile -- untested

9 years agoStart the great trek
Mike Brady [Wed, 24 Aug 2016 15:29:39 +0000 (16:29 +0100)] 
Start the great trek

9 years agoFix a comment typo.
Mike Brady [Mon, 22 Aug 2016 08:09:17 +0000 (09:09 +0100)] 
Fix a comment typo.

9 years agoBegin to add in calculations for expanded back end
Mike Brady [Fri, 19 Aug 2016 17:25:59 +0000 (18:25 +0100)] 
Begin to add in calculations for expanded back end

9 years agoGreat things happening...
Mike Brady [Fri, 19 Aug 2016 15:46:47 +0000 (16:46 +0100)] 
Great things happening...

9 years agofix tiny syntax error
Mike Brady [Fri, 19 Aug 2016 15:46:27 +0000 (16:46 +0100)] 
fix tiny syntax error

9 years agoAdd ability to set output format and output rate
Mike Brady [Fri, 19 Aug 2016 11:51:15 +0000 (12:51 +0100)] 
Add ability to set output format and output rate

9 years agoUpdate RELEASENOTES.md 2.8.4.7
Mike Brady [Thu, 18 Aug 2016 11:51:18 +0000 (12:51 +0100)] 
Update RELEASENOTES.md

9 years agoUpdate RELEASENOTES.md
Mike Brady [Thu, 18 Aug 2016 11:50:17 +0000 (12:50 +0100)] 
Update RELEASENOTES.md

9 years agomake it sysconfdir rather than configdir -- for consistency, really. Rememeber Emerson.
Mike Brady [Thu, 18 Aug 2016 11:49:30 +0000 (12:49 +0100)] 
make it sysconfdir rather than configdir -- for consistency, really. Rememeber Emerson.

9 years agomake it configdir rather than settingsdir -- for consistency (rememeber Emerson)
Mike Brady [Thu, 18 Aug 2016 11:43:02 +0000 (12:43 +0100)] 
make it configdir rather than settingsdir -- for consistency (rememeber Emerson)

9 years agoChanges to sysconfdir treatment
Mike Brady [Thu, 18 Aug 2016 11:29:41 +0000 (12:29 +0100)] 
Changes to sysconfdir treatment

9 years agoUpdate README.md
Mike Brady [Thu, 18 Aug 2016 11:28:37 +0000 (12:28 +0100)] 
Update README.md

9 years agoLook for the shairport-sync.conf in the directory specified by the sysconfdir directo...
Mike Brady [Thu, 18 Aug 2016 11:27:15 +0000 (12:27 +0100)] 
Look for the shairport-sync.conf in the directory specified by the sysconfdir directory, and append the sysconfdir directory path to the version string

9 years agoUpdate README.md
Mike Brady [Thu, 18 Aug 2016 10:53:31 +0000 (11:53 +0100)] 
Update README.md

9 years agoAdd note about `sysconfdir`
Mike Brady [Thu, 18 Aug 2016 10:45:48 +0000 (11:45 +0100)] 
Add note about `sysconfdir`

9 years agoUpdate RELEASENOTES.md
Mike Brady [Thu, 18 Aug 2016 10:35:41 +0000 (11:35 +0100)] 
Update RELEASENOTES.md

9 years agoMerge pull request #357 from ilovezfs/sysconfdir-dev
Mike Brady [Thu, 18 Aug 2016 10:31:47 +0000 (11:31 +0100)] 
Merge pull request #357 from ilovezfs/sysconfdir-dev

**use `$(sysconfdir)` rather than "hardwiring" `/etc`**

This update means the build process now uses the directory path `sysconfdir` to determine where to place the configuration file `shairport-sync.conf`. The default value for `sysconfdir` is `/usr/local/etc` which is used in the BSD family, but `/etc` is normally used in Linux, so, to retain the present behaviour of Shairport Sync, you must add an extra parameter to the `./configure... ` command – the parameter you must add is `--sysconfdir=/etc`

This is one component of the updates needed to use `sysconfdir` properly. The others will be part of a subsequent commit. Also, documentation will need to be updated.

9 years agoUpdate configure.ac 2.8.4.6
Mike Brady [Wed, 17 Aug 2016 19:21:39 +0000 (20:21 +0100)] 
Update configure.ac

Combines 2.8.4.6 and 2.8.4.5
Add a new `alsa` configuration setting: `use_mmap_if_available` to control the use of mmap.
Handle varying packet lengths -- this makes it compatible with the HTC Connect, HTCs AirPlay implementation.

9 years agoUpdate RELEASENOTES.md
Mike Brady [Wed, 17 Aug 2016 19:18:54 +0000 (20:18 +0100)] 
Update RELEASENOTES.md

9 years agoUpdate RELEASENOTES.md
Mike Brady [Wed, 17 Aug 2016 19:12:14 +0000 (20:12 +0100)] 
Update RELEASENOTES.md

9 years agoadd ability to not use mmap
Mike Brady [Wed, 17 Aug 2016 18:59:26 +0000 (19:59 +0100)] 
add ability to not use mmap

9 years agouse $(DESTDIR)$(sysconfdir) not $(DESTDIR)/etc 357/head
ilovezfs [Tue, 16 Aug 2016 15:21:09 +0000 (08:21 -0700)] 
use $(DESTDIR)$(sysconfdir) not $(DESTDIR)/etc

9 years agoMerge pull request #344 from mikebrady/short-packets
Mike Brady [Wed, 20 Jul 2016 17:51:06 +0000 (18:51 +0100)] 
Merge pull request #344 from mikebrady/short-packets

Short packets – handles packets sent by the HTC 10's official AirPlay client. Needs a lot of testing!

9 years agoFix a bug just introduced into the basic stuffing function. 344/head
Mike Brady [Sat, 16 Jul 2016 13:24:34 +0000 (14:24 +0100)] 
Fix a bug just introduced into the basic stuffing function.

9 years agoHandle variable sized packets of audio frames; make a small correction to the basic...
Mike Brady [Sat, 16 Jul 2016 13:11:58 +0000 (14:11 +0100)] 
Handle variable sized packets of audio frames; make a small correction to the basic stuff function

9 years agoUpdate rtsp.c
Mike Brady [Fri, 8 Jul 2016 15:55:05 +0000 (16:55 +0100)] 
Update rtsp.c

9 years agoUpdate configure.ac 2.8.4.4
Mike Brady [Fri, 8 Jul 2016 08:18:02 +0000 (09:18 +0100)] 
Update configure.ac

9 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 8 Jul 2016 08:17:27 +0000 (09:17 +0100)] 
Update RELEASENOTES.md

9 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Thu, 7 Jul 2016 12:31:56 +0000 (13:31 +0100)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot!

9 years agoAdd a signal to say which kind of output is being used.
Mike Brady [Thu, 7 Jul 2016 12:31:04 +0000 (13:31 +0100)] 
Add a signal to say which kind of output is being used.

9 years agoUpdate RELEASENOTES.md
Mike Brady [Thu, 7 Jul 2016 12:02:08 +0000 (13:02 +0100)] 
Update RELEASENOTES.md

9 years agoMerge pull request #334 from xiongyihui/development
Mike Brady [Thu, 7 Jul 2016 11:55:27 +0000 (12:55 +0100)] 
Merge pull request #334 from xiongyihui/development

Use alsa mmap feature if it is supported.

9 years agouse alsa mmap feature if supported 334/head
Yihui Xiong [Thu, 7 Jul 2016 07:28:32 +0000 (15:28 +0800)] 
use alsa mmap feature if supported