]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
Jörg Krause [Thu, 30 Jul 2015 06:21:36 +0000 (08:21 +0200)]
Fix missing header include for waitpid
Jörg Krause [Thu, 30 Jul 2015 06:18:15 +0000 (08:18 +0200)]
Fix segfault with gcc 5.x
Mike Brady [Thu, 28 May 2015 15:44:36 +0000 (16:44 +0100)]
Bump bug fix number
Mike Brady [Thu, 28 May 2015 15:43:15 +0000 (16:43 +0100)]
Update RELEASENOTES.md
Mike Brady [Thu, 28 May 2015 15:38:05 +0000 (16:38 +0100)]
Merge pull request #78 from joerg-krause/master
Fix segfault with musl libc – allocate the player thread enough stack space.
Jörg Krause [Thu, 28 May 2015 07:54:46 +0000 (09:54 +0200)]
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
Jörg Krause [Thu, 28 May 2015 07:10:59 +0000 (09:10 +0200)]
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
Mike Brady [Sun, 17 May 2015 10:37:29 +0000 (11:37 +0100)]
Update info about packages
Mike Brady [Fri, 8 May 2015 17:40:58 +0000 (18:40 +0100)]
Remove development note from master branch, duh.
Mike Brady [Fri, 8 May 2015 17:36:09 +0000 (18:36 +0100)]
Add note about switching to the development branch
Mike Brady [Fri, 8 May 2015 16:11:10 +0000 (17:11 +0100)]
Update man link
Mike Brady [Wed, 6 May 2015 17:39:18 +0000 (18:39 +0100)]
Rephrase active branch stuff.
Mike Brady [Wed, 6 May 2015 17:36:57 +0000 (18:36 +0100)]
Update ref to Arch Linux package.
Mike Brady [Sat, 25 Apr 2015 16:14:36 +0000 (17:14 +0100)]
Move to "master" and "development" branches.
Mike Brady [Sat, 25 Apr 2015 16:07:10 +0000 (17:07 +0100)]
Change branch names...
to "master" and "development"
Mike Brady [Tue, 21 Apr 2015 14:26:00 +0000 (15:26 +0100)]
Add not about forked daapd latency.
Mike Brady [Mon, 20 Apr 2015 20:41:27 +0000 (21:41 +0100)]
Update note
Mike Brady [Mon, 20 Apr 2015 20:32:34 +0000 (21:32 +0100)]
Make 2.2.3 a Release
Mike Brady [Mon, 20 Apr 2015 17:39:41 +0000 (18:39 +0100)]
Update RELEASENOTES.md
Mke Brady [Mon, 20 Apr 2015 17:36:46 +0000 (18:36 +0100)]
Add libcrypto -- needed for Arch Linux build.
Mike Brady [Sun, 19 Apr 2015 10:27:25 +0000 (11:27 +0100)]
Fix typo.
Mike Brady [Sun, 19 Apr 2015 10:22:44 +0000 (11:22 +0100)]
New bugfix noted.
Mike Brady [Sun, 19 Apr 2015 08:48:38 +0000 (09:48 +0100)]
Merge pull request #70 from sdigit/2.2
Fix compiler warnings
sdigit [Sat, 11 Apr 2015 20:40:13 +0000 (15:40 -0500)]
Fix compiler warnings:
1) implicit declaration due to lacking stdlib.h
2) const/const char mixing
Mike Brady [Sat, 4 Apr 2015 22:21:54 +0000 (23:21 +0100)]
Fix typo and recompikle man and html files
Mike Brady [Sat, 4 Apr 2015 08:14:24 +0000 (09:14 +0100)]
Update README.md
Mike Brady [Sat, 4 Apr 2015 08:12:50 +0000 (09:12 +0100)]
Change text layout slightly
Mike Brady [Fri, 3 Apr 2015 21:20:39 +0000 (22:20 +0100)]
Update RELEASENOTES.md
Mike Brady [Fri, 3 Apr 2015 21:20:00 +0000 (22:20 +0100)]
Note moveing of metadata stuff.
Mke Brady [Fri, 3 Apr 2015 21:16:15 +0000 (22:16 +0100)]
Remove all metadata stuff -- move it to 2.3, clean up a few header files.
Mike Brady [Fri, 3 Apr 2015 12:56:05 +0000 (13:56 +0100)]
Say that this is the stable branch
Mike Brady [Sun, 29 Mar 2015 17:12:20 +0000 (18:12 +0100)]
Modified the init script to wait for all services.
Mike Brady [Sun, 29 Mar 2015 17:04:15 +0000 (18:04 +0100)]
Make shairport-sync service start last.
Make shairport-sync wait until all services are started before launching. Leave the sleep command in, but comment it out.
(Note, if you're updating your existing init script, run `sudo insserv shairport-sync` after making the changes in order to have the startup sequence correctly reconfigured.)
Mike Brady [Sat, 28 Mar 2015 10:55:01 +0000 (10:55 +0000)]
Update RELEASENOTES.md
Mike Brady [Sat, 28 Mar 2015 10:51:44 +0000 (10:51 +0000)]
Add sleep
Three seconds seems to work for many systems.
Mike Brady [Sat, 21 Mar 2015 19:59:07 +0000 (19:59 +0000)]
Update LIBSOXR.md
Mike Brady [Sat, 21 Mar 2015 18:22:21 +0000 (18:22 +0000)]
Add warning for stalled metadata, add option for coverart
Mike Brady [Sat, 21 Mar 2015 17:15:36 +0000 (17:15 +0000)]
Remove problematic LD_LIBRARY_PATH redefinition
Remove problematic LD_LIBRARY_PATH redefinition, which seems to cause auto tools to be unable to locate the GNU libc compatible malloc and other bad things.
Mike Brady [Thu, 19 Mar 2015 08:58:06 +0000 (08:58 +0000)]
Update about metadata
Mike Brady [Wed, 18 Mar 2015 21:03:35 +0000 (21:03 +0000)]
didn't mean to add the 'ideas' files -- removed
Mike Brady [Wed, 18 Mar 2015 21:02:49 +0000 (21:02 +0000)]
Fix flush glitch, add artwork request to metadata set.
Mike Brady [Tue, 17 Mar 2015 22:59:29 +0000 (22:59 +0000)]
Add a few extra checks and a progress token. Turns out that iTunes delievery of artwork metadata is very buggy. Best not ask for it (remove metadata type 1 from the mDNS md=xxxphrase)
Mke Brady [Mon, 16 Mar 2015 21:11:04 +0000 (21:11 +0000)]
Adjust the volume transfer function to be a bit steeper in mid to high volume
Mike Brady [Mon, 16 Mar 2015 11:11:54 +0000 (11:11 +0000)]
Improve metadata output -- maybe it works reliably now. Add call to get audio parameters from back ends, to be able to give volume metadata.
Mike Brady [Sat, 14 Mar 2015 14:21:17 +0000 (14:21 +0000)]
Allow non-blocking option to adding item to pc queue -- necessary for 'resume' and possibly 'flush'. Stop pc_queue locking up (?)
Mke Brady [Thu, 12 Mar 2015 23:07:02 +0000 (23:07 +0000)]
Add a 'resume' metadata tag for when the stream is about to play
Mke Brady [Thu, 12 Mar 2015 22:42:32 +0000 (22:42 +0000)]
A little closer to an XML metadata sender. Still in flux.
Mike Brady [Thu, 12 Mar 2015 20:46:21 +0000 (20:46 +0000)]
Debugging metadata code. The metadata is all a construction zone right now.
Mike Brady [Wed, 11 Mar 2015 22:38:09 +0000 (22:38 +0000)]
Add a few new metadata messages. Change some of the codes -- important.
Mike Brady [Wed, 11 Mar 2015 22:37:01 +0000 (22:37 +0000)]
Expose interface for sending metadata
Mike Brady [Wed, 11 Mar 2015 22:36:16 +0000 (22:36 +0000)]
Send a few metadata messages -- not really tested.
Mike Brady [Wed, 11 Mar 2015 19:28:23 +0000 (19:28 +0000)]
Add preliminary not-yet-tested code for correct non-blocked writing to FIFO
Mike Brady [Wed, 11 Mar 2015 19:27:11 +0000 (19:27 +0000)]
libssl include also includes libcrypto
Mike Brady [Mon, 9 Mar 2015 16:26:54 +0000 (16:26 +0000)]
Temporarily quieten some error messages associated with writing to a non-blocking pipe.
Mike Brady [Thu, 26 Feb 2015 01:17:17 +0000 (01:17 +0000)]
Quieten a noisy debug message.
Mike Brady [Thu, 26 Feb 2015 00:44:44 +0000 (00:44 +0000)]
Make writing to the pipe non-blocking. It will break on large files -- to be fixed.
Mike Brady [Thu, 26 Feb 2015 00:19:21 +0000 (00:19 +0000)]
Fix two pre-existing memory leaks, fix very buggy producer-consumer queue (pc_queue) implementation.
Mike Brady [Thu, 26 Feb 2015 00:17:59 +0000 (00:17 +0000)]
Fix harmless memory leak
Mike Brady [Sat, 7 Mar 2015 14:40:06 +0000 (14:40 +0000)]
Merge pull request #57 from cfstras/pa-reconnect
Pulseaudio: reconnect automatically
Claus Strasburger [Sat, 7 Mar 2015 12:48:53 +0000 (13:48 +0100)]
Pulseaudio: reconnect automatically
Mke Brady [Thu, 5 Mar 2015 23:10:00 +0000 (23:10 +0000)]
VERY flaky with metadata, metadata thread and queue hooked up but not really house-trained or even fully debugged.
Mike Brady [Thu, 5 Mar 2015 17:42:02 +0000 (17:42 +0000)]
Turn off an unneeded debug message.
Mke Brady [Wed, 4 Mar 2015 21:33:38 +0000 (21:33 +0000)]
add UNTESTED code to manage a thread-safe producer consumer buffer and memory management with reference counting
Mike Brady [Fri, 27 Feb 2015 17:21:00 +0000 (17:21 +0000)]
Continue to experiement with metadata. Make it a little more resistant to line drop outs and delays, add too-simple reference counting to rtsp messages.
Mke Brady [Thu, 26 Feb 2015 10:56:49 +0000 (10:56 +0000)]
Reinistate after bugfix: Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder
Mke Brady [Wed, 25 Feb 2015 20:55:29 +0000 (20:55 +0000)]
Revert "Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder"
This reverts commit
7d339b1b37a62bdccb2f81083514170674c8805d .
UNstable partial updates.
Mike Brady [Wed, 25 Feb 2015 18:25:29 +0000 (18:25 +0000)]
Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder
Mike Brady [Wed, 25 Feb 2015 14:46:24 +0000 (14:46 +0000)]
Typo fix and update the copyright year
Mke Brady [Tue, 24 Feb 2015 16:56:43 +0000 (16:56 +0000)]
Moving to XML and base64 for metadata transmission. Metadat handling still not final.
Mike Brady [Sat, 21 Feb 2015 09:12:28 +0000 (09:12 +0000)]
Update RELEASENOTES.md
Mike Brady [Wed, 11 Feb 2015 23:52:44 +0000 (23:52 +0000)]
Modify umask to allow creation of files with group and world read permission
Mike Brady [Fri, 20 Feb 2015 11:50:36 +0000 (11:50 +0000)]
Merge pull request #50 from pdgendt/patch-1
Fix: memory leak
Pieter De Gendt [Fri, 20 Feb 2015 09:21:54 +0000 (10:21 +0100)]
Fix: memory leak
Mke Brady [Wed, 18 Feb 2015 21:51:08 +0000 (21:51 +0000)]
Add preliminary support for metadata.
Mke Brady [Wed, 18 Feb 2015 19:23:21 +0000 (19:23 +0000)]
Initial metadata code from abrasive
Mike Brady [Wed, 18 Feb 2015 12:43:12 +0000 (12:43 +0000)]
Tidy up a URL.
Mike Brady [Sun, 15 Feb 2015 23:09:04 +0000 (23:09 +0000)]
Add info about forked-daapd latency.
Mike Brady [Sun, 15 Feb 2015 23:03:29 +0000 (23:03 +0000)]
Update RELEASENOTES.md
Mike Brady [Sun, 15 Feb 2015 23:00:00 +0000 (23:00 +0000)]
V2.2.2 adds a special latency for forked-daaapd
Mike Brady [Tue, 10 Feb 2015 09:25:10 +0000 (09:25 +0000)]
Rephrase
Mike Brady [Tue, 10 Feb 2015 09:22:31 +0000 (09:22 +0000)]
Typos
Mike Brady [Sun, 8 Feb 2015 14:37:52 +0000 (14:37 +0000)]
Layout fix.
Mike Brady [Sun, 8 Feb 2015 14:36:53 +0000 (14:36 +0000)]
Rephrasing
Mike Brady [Sun, 8 Feb 2015 14:36:03 +0000 (14:36 +0000)]
Typos
Mike Brady [Sun, 8 Feb 2015 14:34:30 +0000 (14:34 +0000)]
Typos
Mike Brady [Sun, 8 Feb 2015 14:32:26 +0000 (14:32 +0000)]
Fix typos.
Mike Brady [Sun, 8 Feb 2015 14:31:11 +0000 (14:31 +0000)]
Add reference to note about building libsoxr.
Mike Brady [Sun, 8 Feb 2015 14:25:45 +0000 (14:25 +0000)]
Start adding 2.2.1 changes
Mke Brady [Sat, 7 Feb 2015 19:20:30 +0000 (19:20 +0000)]
Fix pulseaudio compilation bug, bump version.
Mke Brady [Sat, 7 Feb 2015 19:00:12 +0000 (19:00 +0000)]
Add return status values from rtsp_read_response
Mke Brady [Sat, 7 Feb 2015 18:44:25 +0000 (18:44 +0000)]
Prevent a malformed RTSP packet from shutting down the application.
Mike Brady [Sat, 7 Feb 2015 16:21:19 +0000 (16:21 +0000)]
How to compile and install on Pi
Mike Brady [Sat, 7 Feb 2015 15:45:58 +0000 (15:45 +0000)]
Create LIBSOXR.md
Mike Brady [Sat, 7 Feb 2015 15:45:25 +0000 (15:45 +0000)]
Delete Compiling libsoxr-dev for Raspberry Pi
Mike Brady [Sat, 7 Feb 2015 15:44:37 +0000 (15:44 +0000)]
Create Compiling libsoxr-dev for Raspberry Pi
Mike Brady [Thu, 22 Jan 2015 17:03:00 +0000 (17:03 +0000)]
Typos
Mike Brady [Thu, 22 Jan 2015 17:01:04 +0000 (17:01 +0000)]
Update README.md
Mike Brady [Thu, 22 Jan 2015 17:00:46 +0000 (17:00 +0000)]
Typos
Mike Brady [Thu, 22 Jan 2015 16:49:01 +0000 (16:49 +0000)]
Add info about Arch, passwords and tolerance
Mike Brady [Wed, 21 Jan 2015 14:43:38 +0000 (14:43 +0000)]
Update RELEASENOTES.md