1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ... */
#ifndef __WAVERECORDER_H
#define __WAVERECORDER_H
#include "main.h"
Includes
#define DEFAULT_TIME_REC 30
#define REC_WAVE_NAME "Wave.wav"
#define REC_SAMPLE_LENGTH (DEFAULT_TIME_REC * DEFAULT_AUDIO_IN_FREQ * DEFAULT_AUDIO_IN_CHANNEL_NBR * 2)
Exported constants
AUDIO_ErrorTypeDef AUDIO_REC_Process(void);
AUDIO_ErrorTypeDef AUDIO_REC_Start(void);
Exported functions
/* ... */#endif