27 #include <mraa/gpio.h>
68 int getSampledWindow (
unsigned int freqMS,
unsigned int numberOfSamples, uint16_t * buffer);
90 mraa_aio_context m_micCtx;
Microphone(int micPin)
Definition: mic.cxx:34
void printGraph(thresholdContext *ctx)
Definition: mic.cxx:92
int getSampledWindow(unsigned int freqMS, unsigned int numberOfSamples, uint16_t *buffer)
Definition: mic.cxx:51
int findThreshold(thresholdContext *ctx, unsigned int threshold, uint16_t *buffer, unsigned int len)
Definition: mic.cxx:74
C++ API for Microphone.
Definition: mic.h:46
~Microphone()
Definition: mic.cxx:41