diff --git a/src/beep.c b/src/beep.c index db544c1..1f5a923 100644 --- a/src/beep.c +++ b/src/beep.c @@ -195,7 +195,7 @@ int beep_test(void) // Raspi does not work with portaudio?! -#ifdef __ARM1__ +#ifdef ALSA /* * This extra small demo sends sinusoidal samples to your speakers. */ diff --git a/src/beep.h b/src/beep.h index 605d3e9..c4d77f1 100644 --- a/src/beep.h +++ b/src/beep.h @@ -4,6 +4,10 @@ #define PORTAUDIO #endif +#ifdef __ARM__ +#define ALSA +#endif + #ifdef PORTAUDIO #include #endif