wip
This commit is contained in:
parent
96c1a5c030
commit
9dd1055495
@ -216,7 +216,7 @@ int beep(double freq_hz, double duration_sec)
|
|||||||
unsigned int i,j;
|
unsigned int i,j;
|
||||||
snd_pcm_sframes_t frames;
|
snd_pcm_sframes_t frames;
|
||||||
|
|
||||||
int up_count = SAMPLE_RATE * msecs / 1000;
|
int up_count = (int)(SAMPLE_RATE * duration_sec);
|
||||||
|
|
||||||
|
|
||||||
f1 = 0.02;
|
f1 = 0.02;
|
||||||
|
Loading…
Reference in New Issue
Block a user