wip
This commit is contained in:
parent
2a72f535a7
commit
b24c2d5bb3
@ -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?!
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef __MACH__
|
||||
|
Loading…
x
Reference in New Issue
Block a user