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
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