Commit Graph
427 Commits
Author SHA1 Message Date
Mike Brady 22ee7f4efa remove references to getopt_long 2014-04-30 20:50:37 +01:00
Mike Brady eded753326 add latency option, remove include of getopt_long 2014-04-30 20:49:11 +01:00
Mike Brady 9d45096626 moving to using autotools 2014-04-30 20:47:48 +01:00
Mike Brady b1f4f43949 Wasn't using these anyway 2014-04-30 20:45:55 +01:00
Mike Brady 2d5e1dda9a Add control and timing port functionality 2014-04-30 20:44:04 +01:00
Mike Brady 460108556c add ability to return local ports, add time referencing functionality 2014-04-30 20:42:42 +01:00
Mike Brady 8cd6f35203 Pass a packet's timestamp so that it can be stored in the buffer and used for timestamp checking. 2014-04-30 20:41:07 +01:00
Mike Brady c1cedcfaf5 Don't remember this -- seems a little extra error checking is done. 2014-04-30 20:39:09 +01:00
Mike Brady 6941ac515d Moving over to autotools. 2014-04-30 20:36:39 +01:00
Mike Brady b04cadd8c1 add space for a latency entry 2014-04-30 20:36:12 +01:00
Mike Brady 05c40a1709 add null placeholders for flush and delay 2014-04-30 20:35:13 +01:00
Mike Brady f10d93adf6 add null placeholders for flush and delay 2014-04-30 20:34:38 +01:00
Mike Brady 28a5afc96d add null placeholders for flush and delay 2014-04-30 20:34:19 +01:00
Mike Brady a5c3421a82 add null placeholders for flush and delay 2014-04-30 20:32:54 +01:00
Mike Brady afe41c428d add null placeholders for flush and delay 2014-04-30 20:32:29 +01:00
Mike Brady 2c40f23f43 add flush and delay functions, modify volume curve, add some diagnostics 2014-04-30 20:31:19 +01:00
Mike Brady 459cdd94ce add flush and delay functions 2014-04-30 20:29:26 +01:00
Mike Brady 4ab1c2810a Beginning to update the blurb. 2014-04-30 20:24:44 +01:00
Mike Brady 6bc3a29f91 Moving over to autotools. 2014-04-30 20:23:53 +01:00
Mike Brady 6314322aae Update README.md 2014-04-30 16:09:10 +01:00
Mike Brady 7444770a8a Update README.md 2014-04-30 16:07:36 +01:00
James Laird b2c7bf111c do not restart syscalls on SIGUSR1
SIGUSR1 is used to interrupt calls and shut down cleanly.
2013-10-27 10:17:46 +11:00
James Laird f0d8a69368 don't use "let" in configure script
bash-ism snuck into a nominally POSIX-compliant script
2013-10-24 08:09:10 +11:00
James Laird 83846ce3a3 fix compile warning in rtsp.c 2013-10-24 08:08:40 +11:00
James Laird 361cfb05e9 mdns_tinysvcmdns: fix on BSDs 2013-10-23 10:25:30 +11:00
James Laird 0292293227 remove unused variable 2013-10-23 10:22:17 +11:00
James Laird e074967b3e dns_sd: don't require C99 2013-10-22 10:44:40 +11:00
James Laird 82518dc334 whitespace cleanups 2013-10-22 10:44:40 +11:00
Paul LietarandJames Laird 051480677b Don't build the dns_sd backend if avahi is detected.
Avahi provides (sometimes at least) a dns_sd compatibility layer.
There's no point using it if we can use avahi's "native" library, so
don't even detect dns_sd.h's availability
2013-10-22 10:44:22 +11:00
Paul LietarandJames Laird 2a515a9b23 Add a note in the README about mDNS backends 2013-10-22 10:44:00 +11:00
Paul LietarandJames Laird ce77feecef Add a new mDNS backend which uses mDNSResponder
This backend uses mDNSResponder, like the external-dns-sd one. However,
this one uses the dns-sd library instead of relying on an external
program.
2013-10-22 10:33:41 +11:00
Paul LietarandJames Laird 592119bc4d Add a new mDNS backend based on tinysvcmdns
This backend allows shairport to run without having a heavy daemon such
as avahi or mDNSResponder running in the background.
ipv6 support is more or less experimental right now.
2013-10-22 10:33:41 +11: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
Paul LietarandJames Laird 3896909080 Reorganize mDNS advertisement
mDNS is now handled more or less in the same way audio is.
Multiple mDNS backends are available, shairport tries them all until one
works.

This makes it, IMHO, cleaner, and easier to add other mDNS backends in
the future, such as using tinysvcmdns or dns-sd library.
Also it will also allow to define mDNS backends as plugins, in a similar
way it is done in PR #230.
2013-10-22 10:33:41 +11:00
Joseph C. Lehner 4baca06129 Install systemd service on Arch Linux 2013-10-20 14:55:53 +02:00
Joseph C. Lehner e1f71f5da3 Add provides and conflicts to PKGBUILD 2013-10-20 14:52:58 +02:00
Joseph C. Lehner 9a256b3182 Add EnvironmentFile to systemd service 2013-10-20 14:43:23 +02:00
James Laird 28b4e6dde2 Return a nonzero value on error 2013-10-14 19:50:48 +11:00
James Laird 3b028bc337 Merge OpenBSD audio driver 2013-10-12 12:53:01 +11:00
Paul Lietar 9976d46805 Make a few fixes debian init script.
Add avahi as a start dependency, fix the provide line.
Also add a note about updating the logrotate file if non-standard
log and error files are used.
2013-09-29 00:55:30 +01:00
Dimitri Sokolyuk 21a7497fb5 fix shell script 2013-09-05 16:34:02 +02:00
Dimitri Sokolyuk 3286e0ded3 typo 2013-09-05 04:13:15 +02:00
Dimitri Sokolyuk 629e202f1b add support for openbsd sndio sound daemon 2013-09-05 03:24:23 +02:00
James Laird bb04e3b071 README: add debian package suggestions 2013-08-25 22:37:02 +10:00
James Laird 5ed2af178a rtsp: send responses as single packets
Under some circumstances, RTSP responses would be split into multiple
packets. This causes Airfoil to barf, as it interprets the end of the
packet as the end of the response. Since TCP_CORK is not portable, this
fix buffers the packet on the stack before using a single write.
This fixes issue #213.
2013-08-25 22:27:51 +10:00
James Laird c267c8e4c3 rtsp: treat pthread_t as properly opaque
We use the mutex's state to determine whether the playing_thread is
valid or not. Also now use pthread_equal, as we should. Should address
issue #236.
2013-08-25 21:02:57 +10:00
James Laird 3019a8526b rtsp: don't try and take our own player lock
This can happen during a shutdown triggered by the playing thread. Fixes
issue #233 reported by therealmuffin.
2013-08-25 20:30:42 +10:00
James Laird 928dc8024c Merge pull request #237 from jclehner/1.0-dev
Allow empty SET_PARAMETER request
2013-08-03 15:58:55 -07:00
Joseph C. Lehner 62472b5b58 Allow empty SET_PARAMETER request
Certain senders (AirAudio for Android for example) periodically
send SET_PARAMETER requests with Content-Length: 0, to which
shairport responds with an error, making those apps misbehave.
2013-08-03 17:36:18 +02:00
James Laird 159ab91602 Merge pull request #232 from plietar/fix-rtsp-close
Reset playing_thread on connection close. Fixes #217
2013-06-25 05:05:34 -07:00