master
Gerolf Ziegenhain 7 years ago
parent 96c1a5c030
commit 9dd1055495

@ -216,7 +216,7 @@ int beep(double freq_hz, double duration_sec)
unsigned int i,j;
snd_pcm_sframes_t frames;
int up_count = SAMPLE_RATE * msecs / 1000;
int up_count = (int)(SAMPLE_RATE * duration_sec);
f1 = 0.02;

Loading…
Cancel
Save