mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-28 17:51:00 -04:00
Drop special FreeBSD stream period
This commit is contained in:
parent
861635eb4d
commit
29265d6170
@ -4,14 +4,9 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#if defined(__linux__)
|
|
||||||
/* AirTunes v2 packet interval in ns */
|
/* AirTunes v2 packet interval in ns */
|
||||||
/* (352 samples/packet * 1e9 ns/s) / 44100 samples/s = 7981859 ns/packet */
|
/* (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
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* AirTunes v2 number of samples per packet */
|
/* AirTunes v2 number of samples per packet */
|
||||||
#define AIRTUNES_V2_PACKET_SAMPLES 352
|
#define AIRTUNES_V2_PACKET_SAMPLES 352
|
||||||
|
Loading…
x
Reference in New Issue
Block a user