Commit Graph
95 Commits
Author SHA1 Message Date
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
James Laird 98da1d2f66 whitespace fixes 2013-05-14 09:14:27 +10:00
James Laird 9894b52b7b restore '-d' (daemonise) flag 2013-04-14 20:17:40 +10:00
James Laird 0f7b32ab6d debug: multilevel debug functions 2013-04-03 21:54:45 +11:00
James Laird 4a752e67e4 fix IPv6 support 2013-04-02 21:32:56 +11:00
James Laird e6e95a2a8b Fix hw_addr handling 2013-04-02 21:31:57 +11:00
James Laird 1eca354f62 shutdown cleanups
now calls shairport_shutdown() when dying
2013-04-02 21:27:14 +11:00
James Laird b509a644d0 cleanups 2013-04-01 21:44:58 +11:00
James Laird 9b33878c59 audio: output selection functionality 2013-04-01 21:43:24 +11:00
James Laird 04b142dbe3 rewrite: add mDNS registration 2013-04-01 20:08:05 +11:00
James Laird a2fb5d219d Refactor and rewrite.
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00