This commit is contained in:
Gerolf Ziegenhain 2016-10-04 21:02:06 +02:00
parent a62c28dcdf
commit 370858ce8e
1 changed files with 4 additions and 0 deletions

View File

@ -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