SmartCradle v1
Baby smart cradle
microphone.h
Go to the documentation of this file.
1
10#ifndef MICROPHONE_H
11#define MICROPHONE_H
12
13#define ERR_OPEN 12
14#define ERR_READ 15
32int startRecording();
33
44int processAudio(double *loudness);
45
46#endif
int processAudio(double *loudness)
Processes the audio to check whether the baby is crying.
Definition: microphone.c:73
int startRecording()
Records a 2 second .wav audio from microphone.
Definition: microphone.c:18