This commit is contained in:
Gerolf Ziegenhain 2016-10-04 17:48:46 +02:00
parent 5b51a3459a
commit bd54a9cec4
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ int beep(double freq_hz, double duration_sec)
unsigned int i,j;
snd_pcm_sframes_t frames;
int up_count = (int)(SAMPLE_RATE * duration_sec);
unsigned int up_count = (int)(SAMPLE_RATE * duration_sec);
p1 = p2 = f1 = f2 = 0.02;//SAMPLE_RATE/freq_hz;//0.02;