From 49d87c5cc8f70e79bb3ec490c9ff33eaab85942f Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 17:50:37 +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 73d8a13..fd35f32 100644 --- a/src/beep.c +++ b/src/beep.c @@ -190,7 +190,7 @@ int beep(double freq_hz, double duration_sec) unsigned int up_count = (unsigned int)(SAMPLE_RATE*1.0 * duration_sec); - +printf(" %d %f ", up_count, duration_sec); p1 = p2 = f1 = f2 = 0.02;//SAMPLE_RATE/freq_hz;//0.02; i=0; for (i = 0; i < up_count; ) {