diff --git a/src/beep.c b/src/beep.c index 7ef6ae5..33c6d7f 100644 --- a/src/beep.c +++ b/src/beep.c @@ -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; ) { diff --git a/src/beep.h b/src/beep.h index 7fcc05b..4d1b04c 100644 --- a/src/beep.h +++ b/src/beep.h @@ -5,7 +5,8 @@ #endif #ifdef __arm__ -#define ALSA +//#define ALSA +#define PORTAUDIO #endif #ifdef PORTAUDIO