mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 09:56:09 -05:00
hi-res timer commit broke FreeBSD. This attempts to go back to the
old code for FreeBSD.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user