cleanup beep

This commit is contained in:
Gerolf Ziegenhain 2016-10-03 16:23:41 +02:00
parent ac49de555a
commit b29dc7281a
2 changed files with 1 additions and 12 deletions

View File

@ -20,11 +20,6 @@ typedef struct
uint32_t freq;
} paTestData;
static int patestCallback( const void *inputBuffer, void *outputBuffer,
unsigned long framesPerBuffer,
const PaStreamCallbackTimeInfo* timeInfo,
PaStreamCallbackFlags statusFlags,
void *userData );
void buzzer_set_freq(int frequency);
void buzzer_beep(int frequency, int msecs);
int buzzer_start(void);

View File

@ -19,13 +19,6 @@
#include <sys/time.h>
#include <stdio.h>
#define BEEP_MORSE
#ifdef BEEP_MORSE
#include <morse/beep.h>
#else
#include "portaudio.h"
#endif
#ifdef __MACH__
#include <mach/clock.h>
#include <mach/mach.h>
@ -40,6 +33,7 @@
#define MAXDATASIZE 1024 // max number of bytes we can get at once
#include "cwprotocol.h"
#include "beep.h"
int serial_status = 0, fd_serial, numbytes;