master
Gerolf Ziegenhain 7 years ago
parent 9fdfc71ab3
commit 9be4962d53

@ -199,8 +199,8 @@ int beep(double freq_hz, double duration_sec)
i += 1;
if (i<up_count)
{
buffer[j] = freq_hz*100.0 * sin(p1);
buffer[j+1] = freq_hz*100.0 * sin(p2);
buffer[j] = freq_hz*1000.0 * sin(p1);
buffer[j+1] = freq_hz*1000.0 * sin(p2);
p1 += f1;
p2 += f2;
}

Loading…
Cancel
Save