Commit Graph
139 Commits
Author SHA1 Message Date
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
Mke Brady b75f7073b0 Move development version ower to stable 2.4.1 2015-09-27 14:19:40 +01:00
Mke Brady 569154159d Add experimental negotiated latencies setting and associated logic. 2015-09-25 18:19:00 +01:00
Mke Brady ea723e0bde Fix crash when metadata enabled but no metadata pipename given 2015-09-21 21:52:37 +01:00
Mke Brady 77699fe9f9 Merge 2.3.X from development to master 2015-08-27 23:03:31 +01:00
Mike Brady b365f16b2f Make configuration file spec work correctly if it's relative; honour debug verbosity from the very start 2015-08-06 11:07:30 +02:00
Mike Brady afd8017f60 Remove redundant conditional compilation flags 2015-08-01 14:33:24 +02:00
Mike Brady 726c820143 Give command line arguments precedence over config file arguments by processing them afterwards 2015-07-10 15:15:45 +00:00
Mike Brady a54569f318 Tidy up handling of config file name and debug report 2015-06-16 14:08:56 +00:00
Mike Brady 61315e6181 Change the UDP port base to 6001 2015-06-11 10:20:10 +00:00
Mke Brady 8c55f603bc UDP port numbers are now chosen from port 7000 up. Two options are introduced to control this. joerg-krause's stack erro fix installed. 2015-06-10 22:18:17 +01:00
Mke Brady a090a14ca8 Make dummy, pipe and stdout back ends optional compilations 2015-06-03 20:15:54 +01:00
Mike Brady 38281dd1c5 Add new auidio back end -- to stdout. 2015-06-02 11:59:56 +00:00
Mke Brady 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mke Brady 8739c9a150 Add support for new config option and for modified config data structure. 2015-06-01 21:35:07 +01:00
Mike Brady 6e7358c762 Simplify calculation of buffer timing. Rename dac_buffer_queue_desired_length 2015-05-27 16:36:31 +00:00
Mike Brady d2e48f73ca Allow -d option as part of the basic set of command line options. Fix a few documentation and help typos. 2015-05-08 09:47:34 +00:00
Mike Brady 460f844824 Add new option to set the desired DAC buffer length. Quieten a few debug messages. 2015-05-06 13:55:58 +00:00
Mike Brady 62dc112a6d Only read metadat settings if metadata support is included, duh. 2015-05-05 16:49:31 +00:00
Mike Brady fb0eab7c14 Add support for choosing a configuration file 2015-05-05 11:49:58 +01:00
Mike Brady 392c03b23b Add support for configuration file, and use new config fields where appropriate. 2015-05-04 17:24:47 +01:00
Mke Brady e02be8a6ae Add atexit functionality, continue to add config file support. 2015-04-29 19:52:56 +01:00
Mike Brady e73657d6ed Add support for conditional compilation of support for command-line args and-or configuration files 2015-04-29 15:22:47 +01:00
Mike Brady 4ec9fd5b9b Begin to support a settings file -- not working yet. 2015-04-06 13:52:13 +01:00
Mke Brady 0ede9c5e7c Remove all metadata stuff -- move it to 2.3, clean up a few header files. 2015-04-03 22:16:15 +01:00
Mke Brady 75f3f912c7 Make metadata support a compile-time option. Clean up a few definitions. 2015-04-03 13:47:58 +01:00
Mike Brady 783e4aa31e Add warning for stalled metadata, add option for coverart 2015-03-21 18:22:21 +00:00
Mke Brady 201931916e VERY flaky with metadata, metadata thread and queue hooked up but not really house-trained or even fully debugged. 2015-03-05 23:10:00 +00:00
Mke Brady 46412eb148 Reinistate after bugfix: Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder 2015-02-26 10:56:49 +00:00