From a56a4753617f19d6a998143d56ed55ef24a7989e Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 16:54:30 +0200 Subject: [PATCH] wip --- src/beep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beep.c b/src/beep.c index 98c5f2a..6bc0d46 100644 --- a/src/beep.c +++ b/src/beep.c @@ -220,7 +220,7 @@ int beep(double freq_hz, double duration_sec) f1 = 0.02; f2 = 0.02; p1 = p2 = 0.0; - for (i = 0; i < 64; i++) { + for (i = 0; i < 1; i++) { for (j = 0; j < FRAMES*2; j+=2) { buffer[j] = 60000.0 * sin(p1);