Media Recorder Class for Arduino on Spresense. More...
#include <audio/audio_high_level_api.h>
#include <audio/audio_message_types.h>
#include <audio/utilities/frame_samples.h>
#include <audio/utilities/wav_containerformat.h>
#include <memutils/simple_fifo/CMN_SimpleFifo.h>
#include "FrontEnd.h"
Go to the source code of this file.
Classes | |
class | MediaRecorder |
MediaRecorder Class Definitions. More... | |
Macros | |
#define | MEDIARECORDER_LOG_DEBUG |
#define | print_err printf |
#define | print_dbg(...) printf(__VA_ARGS__) |
#define | MEDIARECORDER_ECODE_OK 0 |
#define | MEDIARECORDER_ECODE_COMMAND_ERROR 1 |
#define | MEDIARECORDER_ECODE_BUFFER_INIT_ERROR 2 |
#define | MEDIARECORDER_ECODE_BUFFER_POLL_ERROR 3 |
#define | MEDIARECORDER_ECODE_DSP_ACCESS_ERROR 4 |
#define | MEDIARECORDER_ECODE_FILEACCESS_ERROR 5 |
#define | MEDIARECORDER_ECODE_BUFFER_SIZE_ERROR 6 |
#define | MEDIARECORDER_ECODE_BUFFER_AREA_ERROR 7 |
#define | MEDIARECORDER_ECODE_INSUFFICIENT_BUFFER_AREA 8 |
#define | MEDIARECORDER_ECODE_BASEBAND_ERROR 9 |
#define | MEDIARECORDER_ECODE_BUFFER_ALLOC_ERROR 10 |
#define | MEDIARECORDER_BUF_FRAME_NUM 10 |
#define | MEDIARECORDER_BUF_FRAME_SIZE (768 * 2 * 8) |
#define | MEDIARECORDER_BUF_SIZE (MEDIARECORDER_BUF_FRAME_NUM * MEDIARECORDER_BUF_FRAME_SIZE) |
#define | MEDIARECORDER_CAPCLK_NORMAL (0) |
#define | MEDIARECORDER_CAPCLK_HIRESO (1) |
Media Recorder Class for Arduino on Spresense.
By using this library, you can use the follow features on SPRESSENSE.
#define MEDIARECORDER_LOG_DEBUG |
MediaRecorder log output definition
#define MEDIARECORDER_ECODE_OK 0 |
MediaRecorder Error Code Definitions.
#define MEDIARECORDER_BUF_FRAME_NUM 10 |
MediaRecorder buffer size definition.
#define MEDIARECORDER_CAPCLK_NORMAL (0) |
MediaRecorder capturing clock mode.