This commit is contained in:
Gerolf Ziegenhain 2016-10-04 16:38:51 +02:00
parent b24c2d5bb3
commit a61c528315
2 changed files with 5 additions and 1 deletions

View File

@ -195,7 +195,7 @@ int beep_test(void)
// Raspi does not work with portaudio?! // Raspi does not work with portaudio?!
#ifdef __ARM1__ #ifdef ALSA
/* /*
* This extra small demo sends sinusoidal samples to your speakers. * This extra small demo sends sinusoidal samples to your speakers.
*/ */

View File

@ -4,6 +4,10 @@
#define PORTAUDIO #define PORTAUDIO
#endif #endif
#ifdef __ARM__
#define ALSA
#endif
#ifdef PORTAUDIO #ifdef PORTAUDIO
#include <portaudio.h> #include <portaudio.h>
#endif #endif