From a61c52831586a06b6d424b3421fdb55233f5c204 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 16:38:51 +0200 Subject: [PATCH] wip --- src/beep.c | 2 +- src/beep.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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