Commit Graph
167 Commits
Author SHA1 Message Date
Mike Brady cf29625d2c Clang Format 2017-02-11 12:12:07 +00:00
Mike Brady 7e831237e8 Include interface and max_volume_db in the debug message 2017-02-05 17:20:35 +00:00
Mike Brady 2a4a4ed22b Add volume_max_db setting which works on the hw mixer if it exists or the sw attenuator otherwise. 2017-02-05 16:18:05 +00:00
Mike Brady 2cab35cd55 Add a new setting to specify the interface the service should be provided on. 2017-02-05 13:47:01 +00:00
Mike Brady 957249f5f9 Fix a bug whereby the resync time would be zero, meaning no resync would occur. 2017-01-30 22:55:58 +00:00
Mike Brady 0764199545 Add possibility of using an array of precalculated pseudo random numbers to reduce processor load. 2017-01-30 18:34:09 +00:00
Mike Brady 5f61e30510 Recognise and use deprecated settings and issue warnings. 2017-01-30 18:23:49 +00:00
Mike Brady 62aaf07478 Add support for mbed TLS and deprecate polarssl support 2017-01-30 08:21:12 +00:00
shtirlic 71fc1a2c70 Initial support for libsoundio 2016-12-04 00:03:23 +02:00
Mike Brady b5ee350b3c Add *untested* support for S24_3LE and S24_3BE output format. 2016-09-28 11:47:44 +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 0499743bd9 Make endian-independent. Allow users to specify only U8/S8/S16/S24/S32 2016-09-12 22:01:57 +01:00
Mike Brady 064bd293c5 Tidy up with a clang-format 2016-09-11 10:35:53 +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 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 4e4edf9909 Add a fancy 64-bit pseudo random number generator -- thanks to its developers 2016-09-07 09:05:43 +01:00
Mike Brady ae84366e8d Change over to times as opposed to frames for setting timing options 2016-09-04 19:37:22 +01:00
Mike Brady 0479994c4c Apple ALAC decoder not working -- magic cookie contents are faulty. 2016-08-30 23:33:08 +01:00
Mike Brady 72f1c3b5ae Make the decoder choice a bit more general, highlight names of input format parameters 2016-08-30 22:01:05 +01:00
Mike Brady 945483d9c3 Merge support of apple's ALAC decoder 2016-08-28 21:38:24 +01:00
Mike Brady 01e5128507 Add ability to set output format and output rate 2016-08-19 12:51:15 +01:00
Mike Brady 94ec41aa5e make it sysconfdir rather than configdir -- for consistency, really. Rememeber Emerson. 2016-08-18 12:49:30 +01:00
Mike Brady 0316126560 make it configdir rather than settingsdir -- for consistency (rememeber Emerson) 2016-08-18 12:43:02 +01:00
Mike Brady b30415176f Look for the shairport-sync.conf in the directory specified by the sysconfdir directory, and append the sysconfdir directory path to the version string 2016-08-18 12:27:15 +01:00
Mike Brady c1e07b98d1 add ability to not use mmap 2016-08-17 19:59:26 +01:00
Mike Brady 1fe705cf5f Remove variable delay from non_blocking_write and include it whether metadata is enabled or not. Remove the INSTALL file and ignroe it in git. 2016-06-26 15:20:09 +01:00
Jörg Krause 28efe16f73 Fix build without metadata support
Commit f36352dc4e introduced the parameter
pipe_timeout for the metadata config. If shairport-sync is now configured
without metadata support, the build fails with:

```
shairport.c: In function ‘main’:
shairport.c:766:9: error: ‘shairport_cfg {aka struct <anonymous>}’ has no member named ‘metadata_pipe_timeout’
   config.metadata_pipe_timeout = 5000; //milliseconds

```

Fix this by opting-out the affected code with CONFIG_METADATA.
2016-05-23 22:01:46 +02:00
Mike Brady f36352dc4e Add setting for the time to wait for the metadata pipe to come ready, otherwise give up. Default 5,000 milliseconds. 2016-05-23 14:03:38 +01:00
Mike Brady c434f07335 Add ability to use substitution strings in the service name. Make the default service name the capitalised hostname 2016-05-21 13:08:01 +01:00
Mike Brady cd9a1b5838 Reintroduce a message to indicate successful startup. 2016-05-20 15:41:54 +01:00
Mike Brady 1bb56b4ca1 Change mono setting to playback_mode setting and add to config file. 2016-05-02 09:07:39 +01:00
mike fd56780575 Added option to broadcast metadata over UDP 2016-04-27 12:09:19 +01:00
Mike Brady 51b60cfa37 Merge branch 'master' into development 2016-04-25 09:11:03 +02:00
mike 46bcdce764 Added option for mono output 2016-04-24 21:25:24 +01:00
Mike Brady 223fba3818 Fix bug caused by regtype not being initialised under some circumetances. 2016-04-24 10:15:25 +01:00
Mike Brady bfadbf3801 Add ability to change regtype; clean up some diagnostic messages. 2016-04-01 16:30:36 +01:00
Mike Brady 6f93f55d00 Add version string to debug info, move settings printout to level 1, remove Startup and Exit log messages 2016-03-26 21:43:47 +00:00
Mike Brady d8c4201b9a Change shutdown requester. 2016-02-08 22:02:22 +00:00
Mike Brady b8b5b7fa1e Restore ability to compile in FreeBSD 2015-12-28 20:38:51 +00:00
Mke Brady 73c3744e4c Add check for processor endianness. Fix a small warning. 2015-11-29 20:59:11 +00:00
Mke Brady 5d646e795b Clarify the help wording a little. 2015-11-29 09:55:03 +00:00
Mke Brady af0bde4777 Update some of the help text. 2015-11-29 09:40:56 +00:00
Mike Brady 1ebcb80842 Bring all the updates to 2.4.2 2015-10-17 12:14:46 +01:00
Mke Brady ea25011394 Functional volume_range_db setting in the general stanza 2015-10-07 22:33:20 +01:00
Mke Brady ddd76b10af Add, untested, stuff to capture and remember a volume_range_db setting. 2015-10-07 08:40:10 +01:00
Mke Brady 440b592f64 Make automatic latency selection default. Warn of deprecation of static latencies 2015-10-01 08:21:21 +01:00
Mike Brady 43c63f04a2 Allow latency variables to be negative, in preparation for using values of -1 as a flag. 2015-09-30 15:52:50 +00:00