Commit Graph
67 Commits
Author SHA1 Message Date
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
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 8f100e6810 Add support for choosing a configuration file 2015-05-05 11:50:19 +01:00
Mike Brady 67aa54bd5b Add extra config fields for metadata, ignore volume, allow interruption and checking timeout. 2015-05-04 17:18:23 +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 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
Mike Brady c2383d4942 Fix flush glitch, add artwork request to metadata set. 2015-03-18 21:02:49 +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
Mke Brady bcca3a6f88 Revert "Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder"
This reverts commit 7d339b1b37.

UNstable partial updates.
2015-02-25 20:55:29 +00:00
Mike Brady 7d339b1b37 Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder 2015-02-25 18:25:29 +00:00
Mke Brady 8947eefaef Initial metadata code from abrasive 2015-02-18 19:23:21 +00:00
Mike Brady ac620ebc66 V2.2.2 adds a special latency for forked-daaapd 2015-02-15 23:00:00 +00:00
Mike Brady d5746a9156 Add --password option and add --tolerance option. 2015-01-21 13:10:14 +00:00
Mike Brady 705a0be1e4 Add new optioons --statistics to print out the, um, statistics, and remove them from debug level 1. 2014-11-21 17:39:27 +00:00
Mike Brady ffb37d2b53 Redefine timeout to be an int rather than a 64-bit int. Bump to 2.1.10 2014-11-14 16:53:14 +00:00
Mke Brady eef08e4975 Change SIGUSR2 to turn on and off reserving the output device. 2014-10-19 16:43:59 +01:00
Mike Brady b24edddedc Rename absolute_time_in_ns to absolute_time_in_fp. 2014-09-07 12:32:01 +01:00
Mike Brady 385f31b09a Add extra option -t/--timeout to vary the time to wait for more audio before giving up. Zero to disable timeout, default 120 seconds. 2014-09-03 13:18:58 +01:00
Mike Brady b9e59fc18f Add support for stuffing option, for the start and end commands and centralise how to get absolute time. 2014-08-24 16:12:22 +01:00
Mike Brady b4044d73dc Add airplay and itunes latencies and options. 2014-05-25 18:47:39 +01:00
Mike Brady 0b07f99f9e Unify and clean up shutdown. 2014-05-19 18:35:46 +01:00
Mike Brady 34c52224df Add function vol2attn to return an attenuation for a given volume. Needed in alsa as well as in player. 2014-05-09 17:53:40 +01:00