From 197ac3224e78c0edbecf030b3eb3228ce1addee3 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 18:22:50 +0200 Subject: [PATCH] add raspi audio fix --- src/beep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beep.c b/src/beep.c index af81917..f166c31 100644 --- a/src/beep.c +++ b/src/beep.c @@ -6,7 +6,7 @@ #include "beep.h" -#define RASPI_AUDIO_LATENCY_FIX (/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 (1./5.8*30.) // 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