wip
This commit is contained in:
parent
4a2e3ca88f
commit
3c469edf69
@ -196,7 +196,7 @@ int beep(double freq_hz, double duration_sec)
|
||||
for (j = 0; j < FRAMES*2 ; j+=2)
|
||||
//for (j = 0; j < up_count*2; j+=2)
|
||||
{
|
||||
i += 2;
|
||||
i += 1;
|
||||
if (i<up_count)
|
||||
{
|
||||
buffer[j] = freq_hz*100.0 * sin(p1);
|
||||
|
Loading…
Reference in New Issue
Block a user