Commit Graph
337 Commits
Author SHA1 Message Date
James Laird f6eddb84fd add native avahi-client support
requires extra packages on some systems, eg. libavahi-client-dev on
Debian/Ubuntu.
2013-06-04 01:31:46 +10:00
James Laird 8d04ac0a29 TODO updated 2013-06-04 00:30:17 +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 0129db088f add a pipe/FIFO audio backend 2013-06-04 00:30:17 +10:00
James Laird 57247db9d9 LICENSES updated w/ alac.c pointer 2013-06-04 00:30:17 +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 c5b1f979e4 mdns: die iff the MDNS advertising process dies
and not if any other child does!
2013-06-04 00:26:55 +10:00
James Laird d52125eca2 change default port to 5002
As in the previous version. Fixes #214.
2013-06-03 21:47:17 +10:00
James Laird 98da1d2f66 whitespace fixes 2013-05-14 09:14:27 +10:00
James Laird d5b17e2c23 rtsp: cleaner bind handling
- nicer debug messages
- arbitrary number of addresses, for multihomed hosts
- get rid of AI_ADDRCONFIG
2013-05-14 09:11:28 +10:00
James Laird 38969f2314 PKGBUILD: architecture armhf -> armv6h 2013-05-03 10:26:54 +10:00
James Laird 0e7f99a201 TODO updates 2013-04-14 20:22:10 +10:00
James Laird 9894b52b7b restore '-d' (daemonise) flag 2013-04-14 20:17:40 +10:00
James Laird a9c40871de player: more robust seq_t handling 2013-04-09 08:38:40 +10:00
James Laird 9bfa48f100 player: remove redundant code path for fetch/play thread
conditional wait code was redundant since a contributed change that
plays silence if nothing is in the buffer. that also broke the buffer
fill estimator reset pathway.
2013-04-08 20:51:01 +10:00
James Laird 47853a05c5 rtsp: cleanup debug message 2013-04-08 19:58:58 +10:00
James Laird 9b9680819a player: cleanups
should get rid of some sign issues in debug messages on ARM
2013-04-08 19:58:16 +10:00
James Laird 9a041f26ce player: fix missing frame at stream startup 2013-04-08 19:56:59 +10:00
James Laird 92516596f0 scripts: add PKGBUILD and systemd service 2013-04-08 19:27:34 +10:00
James Laird 5f041a5adb Makefile: create target directory if needs be 2013-04-08 18:58:38 +10:00
James Laird 0ee4efb002 Makefile: add install target 2013-04-08 18:54:39 +10:00
James Laird dd23199752 cleanups 2013-04-04 08:57:00 +11:00
James Laird ae3fcd1cc9 Merge pull request #200 from mrpippy/1.0-dev
Compile fixes for OpenBSD, and call freeaddrinfo() in rtp.c
2013-04-03 14:51:42 -07:00
Brendan Shanks 883d462192 Call freeaddrinfo() in rtp.c
Plug a (small) memory leak from getaddrinfo()
2013-04-03 08:53:53 -07:00
Brendan Shanks 66ccc1ef0e Merge remote-tracking branch 'abrasive/1.0-dev' into 1.0-dev 2013-04-03 08:43:52 -07:00
James Laird 171e5d42ef rtsp: safer buffer handling 2013-04-03 23:35:14 +11:00
James Laird d3e89828c5 rtsp: handle volume messages 2013-04-03 23:34:58 +11:00
James Laird 7a2434aef7 player: talk about established buffer fill preference 2013-04-03 21:54:58 +11:00
James Laird 0f7b32ab6d debug: multilevel debug functions 2013-04-03 21:54:45 +11:00
James Laird 6090b490ed rtp: don't resync on mystery resend-related packet 2013-04-03 21:38:32 +11:00
Quentin SmartandJames Laird f01b957fcd rtsp: fix endian bug in challenge computation
on MIPS platform the IP address was reversed...
2013-04-03 21:34:02 +11:00
James Laird 89611b826f rtsp: add a Session header to keep iTunes happy
With thanks to Quentin Smart (sm3rt) for the fix.
2013-04-03 20:27:34 +11:00
James Laird 4daa5a2ecc readme: ditch simultaneous streams 2013-04-03 19:45:09 +11:00
James Laird b976bb727f Merge pull request #194 from MaZderMind/ReadmeUpdate
readme: remove perl-script, mention build process and iPhones
2013-04-03 01:38:24 -07:00
James Laird 4ba36e493a Merge pull request #192 from MaZderMind/MakefileChanges
Makefile cleanups
2013-04-02 16:55:09 -07:00
James Laird 9d3009eac9 Merge pull request #193 from MaZderMind/getoptint
change getopt return storage from char to int
2013-04-02 16:54:10 -07:00
MaZderMind 68431528b3 remove perl-script from readme, mention build process and iPhones 2013-04-02 23:11:36 +02:00
MaZderMind 44a25abaf8 change getopt return from char to int 2013-04-02 22:55:08 +02:00
MaZderMind 6e04651392 don't fail clean target, when binary does not exist 2013-04-02 22:11:56 +02:00
MaZderMind bb80721846 add default target w/ name 'all' 2013-04-02 22:11:24 +02:00
Brendan Shanks a6f48e8d53 Define AI_ADDRCONFIG (needed for OpenBSD and NetBSD)
AI_ADDRCONFIG is not supported by some BSDs (OpenBSD and NetBSD).
It's not a critical flag, so define it to 0 just to fix the compile
error.
2013-04-02 11:00:00 -07:00
Brendan Shanks 9896ed828a Add #includes for OpenBSD
Add includes for <sys/types.h> and <netinet/in.h> to rtp.c and rtsp.c, needed
for the declarations of IPPROTO_TCP, IPV6_V6ONLY, and others.
2013-04-02 10:39:30 -07:00
James Laird 2e2dde1daa rtsp: set playing_thread safely 2013-04-02 22:57:01 +11:00
James Laird 958a1612ed fix compile warning 2013-04-02 22:55:25 +11:00
James Laird 4e59846703 fix audio buffer allocation
...and make the implicit data dependency on frame_bytes more obvious
2013-04-02 22:54:18 +11:00
James Laird c53054ec0a use AI_ADDRCONFIG with getaddrinfo()
Fixes IPv4 systems with IPv6 present but disabled.
Fix courtesy of Quentin Smart (sm3rt)
2013-04-02 21:39:53 +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 7603ca6f61 enable -v switch for verbosity 2013-04-02 20:30:26 +11:00