From 81316638fc4d5681637b5f055b94629b1700d65e Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 18:27:45 +0200 Subject: [PATCH] adjust raspi latency --- src/beep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beep.c b/src/beep.c index f166c31..6f3d93e 100644 --- a/src/beep.c +++ b/src/beep.c @@ -6,7 +6,7 @@ #include "beep.h" -#define RASPI_AUDIO_LATENCY_FIX (1./5.8*30.) // https://app.assembla.com/spaces/portaudio/tickets/246-paex_sine-choppy-on-raspberry-pi---defaultlowoutputlatency-too-low/details +#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 // http://stackoverflow.com/questions/7678470/generating-sound-of-a-particular-frequency-using-gcc-in-ubuntu