6 #include "/usr/include/alsa/asoundlib.h" 12 MicManager(
short bufferSizeMatrix,
int totalBufferSize,
long int sampleFreq);
15 void populateTotalBuffer();
16 void setBufferSize(
int size);
17 void setTotalBufferSize(
int size);
18 void setSampleRate(
long int sr);
23 short *getTotalBuffer();
24 short getMaxima(
double *t);
33 int total_buffer_size;
39 const char *device =
"default";
40 snd_pcm_t *handle_capture;
41 snd_pcm_sframes_t frames;
Permite la captura de micrófono a través de API de ALSA.
Definition: MicManager.h:9