cleanup beep
This commit is contained in:
parent
ac49de555a
commit
b29dc7281a
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user