add timing functions
synchronised playback
add delay function
fixup default delay
change types to unint32_t where values are copied in or out network packets
add support for generic outputs
use flush timestamps and add record handler
make delay user settable
Merge branch 'sntp' of https://github.com/Nachtzuster/shairport into sntp

Conflicts:
	player.c
	rtp.c
	rtsp.c
	shairport.c

Merged time symcronised playback from Nachtzuster
Casting and precedence updates
Remove old time sync algorithm
Change ab_write to be next slot so ab_read = ab_write is empty buffer
Buffer & sync to first valid timestamp - avoid Ouch!
Simpler rate matching algorithm
Drive through BUFFERING state on resync
ab_read/ab_write change fix
ab_read ab_write fixes
Adjust resend focus and overrun rest according to overall buffer size
Avoid resend request for last packet to arrive
Less aggressive resync and debug for advance packets