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

View File

@ -4,13 +4,13 @@
#include <unistd.h> // for usleep()
#include "beep.h"
#ifdef PORTAUDIO
// http://stackoverflow.com/questions/7678470/generating-sound-of-a-particular-frequency-using-gcc-in-ubuntu
static PaStream *stream;
static paTestData data;
/* This routine will be called by the PortAudio engine when audio is needed.
** It may called at interrupt level on some machines so don't do anything
** that could mess up the system like calling malloc() or free().
@ -162,7 +162,6 @@ int beep_close()
return 0;
}
int beep_test(void)
{
@ -191,6 +190,8 @@ int beep_test(void)
return 0;
}
#endif
// Raspi does not work with portaudio?!

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <math.h>
#ifdef __MACH__