MaZderMind
44a25abaf8
change getopt return from char to int
2013-04-02 22:55:08 +02: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
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
James Laird
98a86371d0
Revert "Merge pull request #181 from ffainelli/master"
...
Reverting due to reported failures (see #189 ).
This reverts commit 617cbf5b23 , reversing
changes made to eb8dad5317 .
2013-03-27 12:02:16 +11:00
Albert Zeyer
2ac00a002a
readme: some cleanup
2013-03-16 14:10:07 +01:00
Alfred Perlstein
e6eb98b10a
Merge pull request #184 from alfredperlstein/master
...
Fixes for ipv4 networks and building on FreeBSD
This was tested on 32bit Ubuntu 12.10.
2013-03-13 14:33:46 -07:00
Florian Fainelli
617cbf5b23
Merge pull request #181 from ffainelli/master
...
socketlib: properly fix the IPv6 to IPv4 fallback code.
2013-03-12 14:51:36 -07:00
Albert Zeyer
eb8dad5317
Merge pull request #167 from mcoms/master
...
Verbose mode logs incorrect IP / fix for paths with spaces in
2013-03-12 10:57:44 -07:00
Florian Fainelli
0847706597
socketlib: properly fix the IPv6 to IPv4 fallback code.
...
With the current code, we do have the following on a system where IPv6
is completely disabled:
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address
family not supported by protocol)
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3, {sa_family=AF_INET6, sin6_port=htons(5002), inet_pton(AF_INET6,
"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1
EAFNOSUPPORT (Address family not supported by protocol)
The correct fix is to make a new call to getAddr() to ensure that the
entire struct addrinfo will be correctly filled out again with AF_INET
this time. This patch fixes.
2013-02-22 15:52:26 +01:00
Alfred Perlstein
01405e92de
tell FreeBSD people to force ipv4.
2012-12-23 14:36:57 -08:00
Alfred Perlstein
0621464a95
Add FreeBSD install instructions.
2012-12-23 14:20:15 -08:00
Alfred Perlstein
2e097b670f
Pass ipv4_only to hairtunes when -4 is given as an arg.
2012-12-23 14:17:08 -08:00
Alfred Perlstein
220250cbe0
Add ipv4 only support to hairtunes.c.
2012-12-23 14:16:36 -08:00
Alfred Perlstein
f42a026731
Handle FreeBSD having openssl in base.
2012-12-23 12:22:31 -08:00
Alfred Perlstein
376b3a53c8
allow users to force ipv4 only.
...
add flag '-4' to commands to force ipv4.
this doesn't work yet because hairtunes unconditionally
uses ipv6 if available.
2012-12-23 12:15:44 -08:00
Nick Malyon
f2b52ea9db
Quote the path to hairtunes (required if the path contains spaces).
2012-10-20 00:45:09 +01:00
Nick Malyon
0f5822d1f7
New connection verbose logs were displaying the local IP not the remote one. Fixed.
2012-10-19 23:51:11 +01:00
Albert Zeyer
4746bb1139
Merge pull request #166 from r10r/master
...
Simple fix for passing the name in the init script
2012-10-02 03:43:50 -07:00
Albert Zeyer
b58f156156
Merge pull request #165 from jcheng5/patch-1
...
Add Net::SDP dependency to INSTALL.md
2012-09-28 13:59:04 -07:00
Joe Cheng
a7a8354eee
Add Net::SDP dependency to INSTALL.md
2012-09-28 13:10:32 -07:00
Albert Zeyer
151b50f5be
Merge pull request #152 from hendrikw82/master
...
ios6 airplay announce message parsing bugfix - Using Net:SDP
2012-09-26 23:18:42 -07:00