Commit Graph
32 Commits
Author SHA1 Message Date
Mke Brady 3b88d05137 Add CYGWIN flag check to be recognised as Posix-enough (?) 2015-10-21 10:22:56 +01:00
Mike Brady 1b52e26f8f Move non-blocking-write code here from rtsp.c 2015-08-06 14:30:44 +02:00
Mike Brady 670dd933a2 Use the renamed linux compilation flag renamed to include the word freebsd 2015-08-01 14:36:42 +02:00
Mike Brady cc4d9ece42 Revert back to CLOCK_MONOTONIC from CLOCK_MONOTONIC_RAW because OpenWrt doesn't recognise it 2015-07-02 15:17:36 +01:00
Mike Brady 8892561917 Use CLOCK_MONOTONIC_RAW for better timing estimation 2015-06-29 09:08:58 +00:00
Mike Brady 129a4dc568 Add declaration file of waitpid 2015-06-28 15:37:22 +01:00
Mke Brady 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mike Brady c2383d4942 Fix flush glitch, add artwork request to metadata set. 2015-03-18 21:02:49 +00:00
Mke Brady a6f156cfc0 Adjust the volume transfer function to be a bit steeper in mid to high volume 2015-03-16 21:11:04 +00:00
Mike Brady a2790fc102 Improve metadata output -- maybe it works reliably now. Add call to get audio parameters from back ends, to be able to give volume metadata. 2015-03-16 11:11:54 +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
Mke Brady eef08e4975 Change SIGUSR2 to turn on and off reserving the output device. 2014-10-19 16:43:59 +01:00
Mike Brady dc360d45c3 Adjust slope of volume control to be a bit faster at the lower end -- diagrams not updated. 2014-09-16 12:50:30 +01:00
Mike Brady 8548cdc67d Modify the volume control profile to make the lower range slower to progress -- seems smoother overall on a 120db (nominal) device. 2014-09-15 21:12:59 +01:00
Mike Brady 0733e962bb rename absolute_time_in_ns to absolute_time_in_fp (more accurate name). Fix osx timing calculation. 2014-09-07 12:31:23 +01:00
Mke Brady 3466530c9e Use popt library to allow on-start and on-stop commands to have arguments 2014-09-01 22:00:19 +01:00
Mike Brady 75fe108eb7 Add support for PolarSSL, some OS X stuff, centralised absolute timing, -B and -E command execution. Bug fixes. 2014-08-24 16:14:17 +01:00
Mike Brady 1a0932d92a Remove extra returns and generally clean up some debug messages. 2014-05-19 19:12:13 +01:00
Mike Brady 0b07f99f9e Unify and clean up shutdown. 2014-05-19 18:35:46 +01:00
Mike Brady d89e516c77 Remove references to daemon.h, add libdaemon stuff, update options. 2014-05-18 23:06:17 +01:00
Mike Brady db5ef58f82 Adjust Volume Control Transfer function to make it a bit slower at very low volumes. Add PDF of transfer function and Mac Grapher source document. 2014-05-17 13:11:25 +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
James Laird 82518dc334 whitespace cleanups 2013-10-22 10:44:40 +11:00
James Laird 28b4e6dde2 Return a nonzero value on error 2013-10-14 19:50:48 +11:00
Paul LietarandJames Laird aef689c07c In daemon mode, send error messages to parent to write them on stderr.
This allows to get a better error message than "Spawning the daemon failed."
when initialization fails.

The error message is sent through the pipe. When init is OK, just send
a null byte.
2013-06-21 11:54:13 +10:00
James Laird 8259ae60e8 die/warn functions now have implicit newline at the end 2013-06-04 00:30:17 +10:00
James Laird 98da1d2f66 whitespace fixes 2013-05-14 09:14:27 +10:00
James Laird 0f7b32ab6d debug: multilevel debug functions 2013-04-03 21:54:45 +11:00
James Laird 1eca354f62 shutdown cleanups
now calls shairport_shutdown() when dying
2013-04-02 21:27:14 +11:00
James Laird cf8401dbc8 Add copyright notices. 2013-04-01 21:57:11 +11:00
James Laird b509a644d0 cleanups 2013-04-01 21:44:58 +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