| 9120e874 Andy McCall |
1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
#ifndef WAV_RECORDER_H |
| 6 |
#define WAV_RECORDER_H |
| 7 |
|
| 8 |
#include <stdint.h> |
| 9 |
|
| 10 |
typedef enum { |
| 11 |
RECORD_WAV_PAUSE = 0, |
| 12 |
RECORD_WAV_RECORD, |
| 13 |
RECORD_WAV_AUTOSTART, |
| 14 |
} wav_recorder_command_t; |
| 15 |
|
| 16 |
void wav_recorder_shutdown(); |
| 17 |
void wav_recorder_process(const int16_t *samples, const int num_samples); |
| 18 |
|
| 19 |
void wav_recorder_set(wav_recorder_command_t command); |
| 20 |
uint8_t wav_recorder_get_state(); |
| 21 |
|
| 22 |
void wav_recorder_set_path(const char *path); |
| 23 |
|
| 24 |
#endif |