Gerolf Ziegenhain 6 years ago
parent 08423de98c
commit 05ad58cb09
  1. 2
      src/beep.c
  2. 3
      src/beep.h

@ -193,7 +193,7 @@ return 0;
unsigned int up_count = (unsigned int)(SAMPLE_RATE*1.0 * duration_sec);
printf(" %d %f ", up_count, duration_sec);
//printf(" %d %f ", up_count, duration_sec);
p1 = p2 = f1 = f2 = 0.02;//SAMPLE_RATE/freq_hz;//0.02;
i=0;
for (i = 0; i < up_count; ) {

@ -5,7 +5,8 @@
#endif
#ifdef __arm__
#define ALSA
//#define ALSA
#define PORTAUDIO
#endif
#ifdef PORTAUDIO

Loading…
Cancel
Save