Commit Graph
60 Commits
Author SHA1 Message Date
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
Mike Brady b04cadd8c1 add space for a latency entry 2014-04-30 20:36:12 +01:00
Paul LietarandJames Laird 958fceb60a Add a command-line option to force the mDNS backend
Add this option to the system-v init script.
2013-10-22 10:33:41 +11:00
James Laird 28b4e6dde2 Return a nonzero value on error 2013-10-14 19:50:48 +11:00
Paul LietarandJames Laird b70505fd58 Support log redirection to a file. 2013-06-20 17:02:56 +10:00
Paul LietarandJames Laird 5249a6e1d8 Add support to write pid to pidfile when running in daemon mode. 2013-06-20 17:02:56 +10:00
James Laird 24d81c0450 daemonising: fork before doing any audio init 2013-06-20 01:06:45 +10:00
James Laird 3c8c9ed4b5 provide -B/-E for running shell commands on begin/end of playing
Implements functionality described by MaZderMind <github@mazdermind.de>
in issue #201.
2013-06-04 00:27:15 +10:00