Commit Graph
315 Commits
Author SHA1 Message Date
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
James Laird bfd7c14a1a configure: always generate config.h 2013-04-02 20:19:06 +11:00
James Laird 7f6d353229 configure script: portability fix 2013-04-02 20:14:58 +11:00
James Laird 0cf3a0c10d rtsp: remove include of malloc.h
stdlib.h provides malloc, and Apple have removed malloc.h entirely.
2013-04-02 19:41:03 +11:00
James Laird 4a59e5d944 fix typo in arg parsing 2013-04-02 12:07:39 +11:00
James Laird 7db07766d3 rename arguments for compatibility with old version 2013-04-02 10:09:48 +11:00
James Laird 9b9899b843 ao: actually use the options we collect 2013-04-02 08:45:32 +11:00
James Laird cb1bfbad95 Makefile: configure for libraries properly 2013-04-02 00:16:03 +11:00
James Laird 31d2570f3d ao: shutdown properly 2013-04-01 23:17:15 +11:00
James Laird 370f9d2fcb readability cleanup 2013-04-01 23:09:40 +11:00
James Laird 8a3f2fad16 generate hw_addr from apname 2013-04-01 23:06:55 +11:00
James Laird c627bae022 player: avoid leaking memory 2013-04-01 23:04:54 +11:00
James Laird e736802ee1 mdns: NULL-terminate argv lists 2013-04-01 22:57:46 +11:00
James Laird 42b4e67f9a usage: usage of default buffer_start_fill was wrong 2013-04-01 22:57:18 +11:00
James Laird cbe204d2ba usage: default buffer_start_fill was wrong 2013-04-01 22:08:58 +11:00
James Laird cf8401dbc8 Add copyright notices. 2013-04-01 21:57:11 +11:00
James Laird 69c9d7224e TODO updates
lots knocked off the list!
2013-04-01 21:46:21 +11:00
James Laird b509a644d0 cleanups 2013-04-01 21:44:58 +11:00
James Laird efe7d2c63c ao: add option parsing 2013-04-01 21:44:30 +11:00
James Laird f39ff3a44e main: add option parsing 2013-04-01 21:44:14 +11:00
James Laird 9b33878c59 audio: output selection functionality 2013-04-01 21:43:24 +11:00
James Laird 86e94064c0 fix potential deadlock while shutting down 2013-04-01 20:08:28 +11:00
James Laird 04b142dbe3 rewrite: add mDNS registration 2013-04-01 20:08:05 +11:00