Commit Graph
1719 Commits
Author SHA1 Message Date
shtirlic 71fc1a2c70 Initial support for libsoundio 2016-12-04 00:03:23 +02:00
Mike BradyandGitHub 329d2e2024 Merge pull request #431 from jneubrand/development
Fix ClientIP info in metadata [development branch; attempt #2] Many thanks!
2016-11-26 22:52:38 +00:00
jneubrand 5c85e614c0 Merge fix-clip 2016-11-26 11:48:03 -08:00
Mike BradyandGitHub af9d2009b7 Merge pull request #428 from joerg-krause/patch-2
Add avahi client error handling. Thanks. It may also have relevance to #319.
2016-11-26 13:07:20 +00:00
Jörg Krause 9e61da91c0 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
2016-11-24 14:51:17 +01:00
Jörg Krause e5ec3da9da 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.
2016-11-24 14:46:59 +01:00
Mike BradyandGitHub 86a2902a45 3.0d16 – 24-bit three-byte support
Untested.
2016-09-28 12:10:38 +01:00
Mike BradyandGitHub b5744dfd2a 3.0d16 – added 24-bit three-byte support
Untested!
2016-09-28 12:02:25 +01:00
Mike Brady 4c7466e418 Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot about online updates...
2016-09-28 11:59:33 +01:00
Mike Brady 4e3060b621 Add *untested* support for S24_3LE and S24_3BE output format. 2016-09-28 11:57:44 +01:00
Mike Brady 93740bee87 Add *untested* support for S24_3LE and S24_3BE output format. 2016-09-28 11:49:11 +01:00
Mike Brady b5ee350b3c Add *untested* support for S24_3LE and S24_3BE output format. 2016-09-28 11:47:44 +01:00
Mike BradyandGitHub 4a556b37cd Version 3.0! 2016-09-27 17:09:10 +01:00
Mike BradyandGitHub d0f3b7f3e6 Version 3.0! 2016-09-27 17:04:20 +01:00
Mike BradyandGitHub 49cbd6555b Version 3.0! 2016-09-27 17:03:49 +01:00
Mike BradyandGitHub a0f6dc8b73 3.0d15! 2016-09-27 16:59:39 +01:00
Mike BradyandGitHub d9b28443fc Version 3.0d! 2016-09-27 16:52:45 +01:00
Mike Brady 0542f5d204 Fix a few typos in the comments 2016-09-27 16:24:41 +01:00
Mike Brady c6fc233476 Merge remote-tracking branch 'upstream/development' into development
Merging 3.0d to 2.8.4.8
2016-09-26 16:42:33 +01:00
Mike Brady 909a2d05cb If sync disabled on the alsa device, don't keep asking for buffer length. Also emit sender IP number as metadata. 2016-09-21 20:58:36 +01:00
Mike Brady 622549c7df If sync disabled on the alsa device, don't keep asking for buffer length. Also emit sender IP number as metadata. 2016-09-21 20:57:33 +01:00
Mike BradyandGitHub a56d103ee8 Update RELEASENOTES.md 2016-09-20 15:26:19 +01:00
Mike Brady fd8d5501a5 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. 2016-09-20 15:18:41 +01:00
Mike Brady b76e9ba4be 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. 2016-09-20 15:17:28 +01:00
Mike Brady b0c173a3f2 Change names of drift, resync, alsa buffer offset and alsa buffer length to distinguish them from the old 44100-based settings. Add warning messages. 2016-09-18 14:54:46 +01:00
Mike Brady c80d59b3c4 Tidy up source with clang-format 2016-09-18 13:08:36 +01:00
Mike Brady 5a8241c71a Change names of drift, resync, alsa buffer offset and alsa buffer length to distinguish them from the old 44100-based settings. Add warning messages. 2016-09-18 12:56:22 +01:00
Mike Brady 8a9665f68e Get different playback modes working and update the configuration sample 2016-09-15 17:43:13 +01:00
Mike Brady 43788faa96 Fix error checking of alsa latency and buffer legth settings. 2016-09-13 12:19:28 +01:00
Mike Brady cb6b7c34c9 Make endian-independent. Allow users to specify only U8/S8/S16/S24/S32 2016-09-12 22:17:41 +01:00
Mike Brady 0499743bd9 Make endian-independent. Allow users to specify only U8/S8/S16/S24/S32 2016-09-12 22:01:57 +01:00
Mike Brady 0d45f0b738 trying to get a sane build numbering system. 'd' for 'development'... 2016-09-11 15:50:17 +01:00
Mike Brady 3db9769d9a Soxr interpolation working. Dithering seems to work. Software volume seems to work 2016-09-11 15:44:51 +01:00
Mike Brady 8cabb7d0ab format player.c 2016-09-11 15:42:33 +01:00
Mike Brady e9fef46fdd Fix 8-bit dithering, fix software volume control 2016-09-11 15:40:59 +01:00
Mike Brady e527d9f55f Soxr interpolation working. 2016-09-11 11:33:37 +01:00
Mike Brady 064bd293c5 Tidy up with a clang-format 2016-09-11 10:35:53 +01:00
Mike Brady 6bf0a1d483 Beginning to work, also added S8 and U8 support as VMWare Fusion and the Pi both offer them 2016-09-10 19:00:57 +01:00
Mike Brady 9ae88ee16c Add initial support for U8 and S8 formats 2016-09-10 18:59:53 +01:00
Mike Brady d1c6478035 Some bug fixes and hacks. Not working. 2016-09-09 12:34:21 +01:00
Mike Brady 28a9bd9ac9 New backend for converting 32-bit "native" samples to output format ready for testing 2016-09-08 21:53:48 +01:00
Mike Brady 3469a2ab02 New backend for converting 32-bit "native" samples to output format ready for testing 2016-09-08 21:53:19 +01:00
Mike Brady 8d008fa2ec Begin to add full-scale post processing. Does not compile. 2016-09-08 15:56:22 +01:00
Mike Brady 2fad92e7a7 Get dither mask working right 2016-09-08 07:57:28 +01:00
Mike Brady 4849c1d429 Remove mersenne generator -- too slow, try another one 2016-09-07 16:55:14 +01:00
Mike Brady e5eb441b31 Remove prng initialisation code -- it's not needed 2016-09-07 09:14:35 +01:00
Mike Brady 6271437066 Add a fancy 64-bit pseudo random number generator -- thanks to its developers 2016-09-07 09:07:09 +01:00
Mike Brady 4e4edf9909 Add a fancy 64-bit pseudo random number generator -- thanks to its developers 2016-09-07 09:05:43 +01:00
Mike Brady 06fce76ce4 Preliminary support for 32-bit stuffing 2016-09-05 22:35:53 +01:00
Mike Brady c7c794c72b Preliminary support for 32-bit stuffing 2016-09-05 22:35:44 +01:00