Play silence while stream is paused to avoid audio glitches when used with JACK.
Merge pull request #145 from choongng/master

Play silence while audio is paused.
Makeing it iOS 6 compatibel using Net:SDP 
Fixed Issue #147: Segfaults on ShairPort version 0.05 C port

When requesting resend of packets a lot, iOS sometimes sends a packet with type 0x56 (Reply to resend request), but with sequence number 0 and length == 4. This short length leads to memory corruption later on when processing the packet: alac_decode() expects at least 16 bytes for AES IV. Therefore the segfault.

This fix ignores packets with length < 16, as seen in another implementation here:
http://fossies.org/dox/mythtv-0.25.1/mythraopconnection_8cpp_source.html#l00555

Please be aware that this just fixes the segfault. The suspicious packet seems to be an information of an out of sync situation, so it may deserve further attention.

Signed-off-by: Gregor Fabritius <gre@g0r.de>
Initiating resync when receiving strange packet

The packet type 0x56, sequence number 0, containing 4 bytes (the first two are the sequence number of the previously requested packet) initiates a resync. Not sure what this packet is supposed to do, but it occurs after heavy requesting resending of packets. Seems to be an out of sync situation, so resyncing is not the worst idea.

Signed-off-by: Gregor Fabritius <gre@g0r.de>
Merge pull request #154 from grefab/master

Fixes issue #147.
Pass name from init script to daemon
Merge pull request #152 from hendrikw82/master

ios6 airplay announce message parsing bugfix  - Using Net:SDP
Add Net::SDP dependency to INSTALL.md
Merge pull request #165 from jcheng5/patch-1

Add Net::SDP dependency to INSTALL.md
Merge pull request #166 from r10r/master

Simple fix for passing the name in the init script
Merge remote-tracking branch 'remotes/shairport/master'