7 #include "alsa/asoundlib.h" 8 #include "dspmanager.h" 16 MicManager(
short bufferSizeMatrix,
int totalBufferSize,
long int sampleFreq);
28 void populateTotalBuffer();
33 void setBufferSize(
int size);
38 void setTotalBufferSize(
int size);
43 void setSampleRate(
long int sr);
63 short *getTotalBuffer();
69 short getMaxima(
double *t);
76 int total_buffer_size;
82 const char *device =
"default";
83 snd_pcm_t *handle_capture;
84 snd_pcm_sframes_t frames;
Permite la captura de micrófono a través de API de ALSA.
Definition: MicManager.h:9