hi-res timer commit broke FreeBSD. This attempts to go back to the

old code for FreeBSD.
This commit is contained in:
ejurgensen
2014-02-08 22:59:07 +01:00
parent 01f290cc2a
commit 258163e6ce
4 changed files with 38 additions and 13 deletions

View File

@@ -7,7 +7,7 @@
#if defined(__linux__)
/* AirTunes v2 packet interval in ns */
/* (352 samples/packet * 1e9 ns/s) / 44100 samples/s = 7981859 ns/packet */
#define AIRTUNES_V2_STREAM_PERIOD 7981859
# define AIRTUNES_V2_STREAM_PERIOD 7981859
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
/* AirTunes v2 packet interval in ms */
# define AIRTUNES_V2_STREAM_PERIOD 8