This commit is contained in:
Gerolf Ziegenhain 2016-10-04 17:50:37 +02:00
parent 1c1ef6ca4d
commit 49d87c5cc8

View File

@ -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; ) {