From 370858ce8ea43bdaa49922c1ed2865e29de5b2db Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 21:02:06 +0200 Subject: [PATCH] wip --- src/beep.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/beep.c b/src/beep.c index 6f3d93e..0804020 100644 --- a/src/beep.c +++ b/src/beep.c @@ -6,7 +6,11 @@ #include "beep.h" +#ifdef RASPI #define RASPI_AUDIO_LATENCY_FIX (30./5.) // https://app.assembla.com/spaces/portaudio/tickets/246-paex_sine-choppy-on-raspberry-pi---defaultlowoutputlatency-too-low/details +#else +#define RASPI_AUDIO_LATENCY_FIX (1.) +#endif // http://stackoverflow.com/questions/7678470/generating-sound-of-a-particular-frequency-using-gcc-in-ubuntu