Mike Brady
2ce5891280
Merge pull request #85 from mikebrady/portnumbers
...
Portnumbers
2015-06-13 20:01:02 +01:00
Mke Brady
f5ffb4986e
Merge branch 'portnumbers' into development
...
Constrain UDP port numbers.
2015-06-13 19:56:18 +01:00
Mike Brady
9719685b8b
Bump bug fix number
2015-06-11 12:33:31 +01:00
Mike Brady
2514239ee5
Update configure.ac
2015-06-11 12:32:22 +01:00
Mike Brady
1da19c3bf9
Update configure.ac
2015-06-11 12:30:52 +01:00
Mike Brady
10b5b27c5b
Update RELEASENOTES.md
2015-06-11 12:30:24 +01:00
Mike Brady
61315e6181
Change the UDP port base to 6001
2015-06-11 10:20:10 +00:00
Mke Brady
8c55f603bc
UDP port numbers are now chosen from port 7000 up. Two options are introduced to control this. joerg-krause's stack erro fix installed.
2015-06-10 22:18:17 +01:00
Mike Brady
f848b08c7a
Add alsa stanza name!
2015-06-06 21:58:04 +01:00
Mike Brady
c2117e302a
Update configure.ac
2015-06-06 21:37:08 +01:00
Mike Brady
42109ef67b
Update shairport-sync.conf
2015-06-06 19:45:00 +01:00
Mke Brady
b17a35bacb
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
...
Forgot to allow for the updates...
2015-06-03 21:14:03 +01:00
Mke Brady
4fb74b4289
Add enclosing XML item tags to each item of metadata
2015-06-03 21:13:40 +01:00
Mke Brady
7095188344
Bump version
2015-06-03 21:12:59 +01:00
Mike Brady
fd347fcbce
Fix typos.
2015-06-03 20:43:39 +01:00
Mike Brady
3d03e6c670
Add a little more info, reorder enhancements
2015-06-03 20:40:23 +01:00
Mike Brady
11cfe7accc
Include "no", duh!
2015-06-03 20:26:38 +01:00
Mike Brady
157b3aaf1d
Add detail about PCM
2015-06-03 20:25:25 +01:00
Mike Brady
c8fdbbd5a4
Rephrase.
2015-06-03 20:21:45 +01:00
Mike Brady
84eac6c5c8
Big update – extra outputs, config files.
2015-06-03 20:20:44 +01:00
Mke Brady
a090a14ca8
Make dummy, pipe and stdout back ends optional compilations
2015-06-03 20:15:54 +01:00
Mike Brady
6de98c5bd9
Update RELEASENOTES.md
2015-06-03 19:43:24 +01:00
Mike Brady
07a4258f57
Merge pull request #80 from mikebrady/pipework
...
Flow control improvements and limited support for different backends. Formatted much of the source code.
2015-06-03 13:49:47 +01:00
Mike Brady
58a13cf800
Modify latency and buffer size limits, fix a few dying message bugs.
2015-06-02 13:18:07 +00:00
Mike Brady
60104d0ec9
Add sample and default settings for the back ends and update documentation a little.
2015-06-02 12:53:42 +00:00
Mike Brady
e810eb64ce
Modify the statistics output when synchronisation is disabled.
2015-06-02 12:52:40 +00:00
Mike Brady
c65211a205
Quieten some debug messages
2015-06-02 12:51:42 +00:00
Mike Brady
38281dd1c5
Add new auidio back end -- to stdout.
2015-06-02 11:59:56 +00:00
Mke Brady
87a0475c16
Reformat using clang-format.
2015-06-01 23:16:50 +01:00
Mke Brady
04e27cfe4f
Reduce the number of times the player thread asks for the delay in the audio back end -- halve it, mostly.
2015-06-01 22:08:31 +01:00
Mke Brady
54250f7552
Simplify init function, add defaults for latency offset and buffer size. Remove redundant timer stuff from audio_dummy.c.
2015-06-01 21:38:56 +01:00
Mke Brady
e91cddabed
Add support for latency offset and buffer length. Update comments.
2015-06-01 21:37:41 +01:00
Mke Brady
c56a9ee26e
Add support for settable buffer length and latency offset.
2015-06-01 21:36:18 +01:00
Mke Brady
8739c9a150
Add support for new config option and for modified config data structure.
2015-06-01 21:35:07 +01:00
Mke Brady
0be43c2690
Move backend settings to backend stanzas
2015-06-01 21:33:56 +01:00
Mke Brady
5395fbe00c
Add an extra parameter -- audio backend latency offset to allow for delays in audio back ends
2015-06-01 21:32:55 +01:00
Mke Brady
181d6d4395
Remove one parameter from the init function of audio back ends.
2015-06-01 21:31:41 +01:00
Mike Brady
94025d4939
Bump bug fix number
2015-05-28 16:44:36 +01:00
Mike Brady
7e403325bf
Update RELEASENOTES.md
2015-05-28 16:43:15 +01:00
Mike Brady
fc169382ed
Merge pull request #78 from joerg-krause/master
...
Fix segfault with musl libc – allocate the player thread enough stack space.
2015-05-28 16:38:05 +01:00
Jörg Krause
8a122426c6
Fix redirection of incorrect system headers
...
The POSIX correct header include is `<poll.h>` [1] and `<signal.h>`
The glibc silently redirects these incorrect includes, musl libc prints
a warning:
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
#warning redirecting incorrect #include <sys/signal.h> to <signal.h>
[1]
http://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.h.html
[2]
http://pubs.opengroup.org/onlinepubs/7908799/xsh/signal.h.html
2015-05-28 09:54:46 +02:00
Jörg Krause
e12d7ad23e
Fix segfault with musl libc
...
shairport-sync crashes on musl libc when accessing the `statistics` array in
`player_thread_func()`. This array is quite large (60128 bytes) and the data
for this thread exceed the the default stack size on musl libc of 80k [1].
Safe and portable programs should not depend upon the default stack limit, but
instead, explicitly allocate enough stack for each thread by using the
pthread_attr_setstacksize routine [2].
So, lets set the stack size for the `player_thread` to 128k. A follow-up patch
may set the stack sizes for the other threads, too. The difficulty here is to
decide how much memory to allocate for the stack.
[1]
http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Thread_stack_size
[2]
https://computing.llnl.gov/tutorials/pthreads/#Stack
2015-05-28 09:10:59 +02:00
Mike Brady
6e7358c762
Simplify calculation of buffer timing. Rename dac_buffer_queue_desired_length
2015-05-27 16:36:31 +00:00
Mike Brady
46bf99858a
Uses the dac buffer size to offset the timing of the packets by a fixed amount
2015-05-22 17:08:57 +00:00
Mike Brady
5f00910693
Allow the pipe to be stdout, regluate timing better in the player thread. Rough, rough.
2015-05-21 16:12:37 +00:00
Mke Brady
c887aafdf0
Very broken player mod.
2015-05-21 09:09:37 +01:00
Mike Brady
4cd3f5c399
experiment with pipe backend.
2015-05-20 19:58:40 +00:00
Mike Brady
744214df54
Apply command line arguments _after_ sewttings from configuration file
2015-05-20 19:58:07 +00:00
Mike Brady
4b3151f84e
Update info about packages
2015-05-17 11:37:29 +01:00
Mike Brady
6bd14a6a09
Add note about switching to the development branch
2015-05-08 18:41:45 +01:00