Commit Graph
241 Commits
Author SHA1 Message Date
Mike Brady 6195be0192 Change the order of evaluating command lione options so that the config file is read before any commands are executed. 2017-05-25 18:56:01 +01:00
Mike Brady 2dea79fa41 Add alsa_use_playback_switch_for_mute to the configuration data structure, so visible for debug summary. 2017-04-30 18:56:56 +01:00
Mike Brady e37c277b0a Add a "run_this_when_volume_is_set" facility to call a program when the volume is set. The AirPlay volume is passed. 2017-04-23 12:37:11 +01:00
Mike Brady 7860d69227 Move some globals into the thread parameter block. Add setting for logOutputLevel 2017-04-07 18:44:11 +01:00
Denys Berkovskyy 69c042585a Fix various typos. 2017-03-21 11:16:05 +00:00
Yann Pomarede 2ab2a84c14 change function die, warn, inform and debug
change funcions die, warn, inform and debug argument from `char*` to `const char*` to prevent a warning in C==
2017-02-28 12:47:03 +01:00
Yann Pomarede 7b9cd28e90 2 audio filters added, a volume-dependent-loudness and a convolution filter. 2017-02-27 22:43:23 +01:00
Mike Brady cf29625d2c Clang Format 2017-02-11 12:12:07 +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 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 b5ee350b3c Add *untested* support for S24_3LE and S24_3BE output format. 2016-09-28 11:47:44 +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 8d008fa2ec Begin to add full-scale post processing. Does not compile. 2016-09-08 15:56:22 +01:00
Mike Brady 4849c1d429 Remove mersenne generator -- too slow, try another one 2016-09-07 16:55:14 +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 ef851a927b Enable 64-bit monotonic rtptime calculations 2016-09-02 16:53:52 +01:00
Mike Brady 945483d9c3 Merge support of apple's ALAC decoder 2016-08-28 21:38:24 +01:00
Mike Brady a1519f2abe Make it compile -- untested 2016-08-24 16:30:02 +01:00
Mike Brady 01e5128507 Add ability to set output format and output rate 2016-08-19 12:51: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
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 46fac92f6c Add a utility for string substitution, rename apname to service_name 2016-05-21 13:05:15 +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 46bcdce764 Added option for mono output 2016-04-24 21:25:24 +01:00
Mike Brady 890cdd68dd Add regtype field and remove two own fields -- logfile and errfile 2016-04-01 16:26:04 +01:00
Mike Brady 7189e18d69 Change latency representations to long as that's closr to what alsa uses. 2016-03-29 16:07:22 +00:00
Mike Brady 548d07716a Add field to disable synchronisation. 2016-03-26 21:37:17 +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
Mike Brady 4c70223f5a Work in progress, doesn't compile 2015-11-05 18:03:58 +00:00
Mke Brady 3b88d05137 Add CYGWIN flag check to be recognised as Posix-enough (?) 2015-10-21 10:22:56 +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
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 569154159d Add experimental negotiated latencies setting and associated logic. 2015-09-25 18:19:00 +01:00
Mike Brady 1b52e26f8f Move non-blocking-write code here from rtsp.c 2015-08-06 14:30:44 +02:00
Mike Brady 43c13ae737 Remove a redundant conditional compilation stanza and redefine a linux compilation flag to include the name freebsd 2015-08-01 14:35:48 +02:00
Mike Brady fcec637340 Add buffer size to diagnostics 2015-06-29 18:25:39 +00:00
Mike Brady 841014277e Add check of drift in the source material -- i,e, divergence between calculated and actual remote clocks for frames. 2015-06-26 15:11:21 +01:00
Mike Brady 300b4abe6f Add ability to output clock drift and corrections applied, both in microseconds. 2015-06-25 14:23:21 +00:00
Mike Brady 47d6aece5e Update common.h
Make config file name conditional on config file support
2015-06-21 14:53:03 +01:00
Mike Brady c1198ae243 Remove a few unused declarations 2015-06-19 13:00:14 +00:00
Mike Brady 7626cc2f2e Use uint32_t in place of uint for our stuff 2015-06-18 16:13:02 +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 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mke Brady 5395fbe00c Add an extra parameter -- audio backend latency offset to allow for delays in audio back ends 2015-06-01 21:32:55 +01:00
Mike Brady 6e7358c762 Simplify calculation of buffer timing. Rename dac_buffer_queue_desired_length 2015-05-27 16:36:31 +00:00