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
32
int
startRecording
();
33
44
int
processAudio
(
double
*loudness);
45
46
#endif
processAudio
int processAudio(double *loudness)
Processes the audio to check whether the baby is crying.
Definition:
microphone.c:73
startRecording
int startRecording()
Records a 2 second .wav audio from microphone.
Definition:
microphone.c:18
inc
microphone.h
Generated on Mon Feb 7 2022 18:12:29 for SmartCradle by
1.9.2