API for using Audio.
More...
|
#define | WRITE_FIFO_FRAME_NUM (8) |
|
#define | WRITE_FIFO_FRAME_SIZE (1024*2*3) |
|
#define | WRITE_BUF_SIZE (WRITE_FIFO_FRAME_NUM * WRITE_FIFO_FRAME_SIZE) |
|
#define | READ_FIFO_FRAME_NUM (10) |
|
#define | READ_FIFO_FRAME_SIZE (1024*2*8) |
|
#define | READ_BUF_SIZE (READ_FIFO_FRAME_NUM * READ_FIFO_FRAME_SIZE) |
|
#define | FIFO_FRAME_SIZE |
|
#define | SIMPLE_FIFO_BUF_SIZE |
|
#define | print_err printf |
|
#define | print_dbg(x...) |
|
#define | AS_CODECTYPE_PCM 5 |
|
#define | AUDIOLIB_ECODE_OK 0 |
|
#define | AUDIOLIB_ECODE_SHARED_MEMORY_ERROR 1 |
|
#define | AUDIOLIB_ECODE_SIMPLEFIFO_ERROR 2 |
|
#define | AUDIOLIB_ECODE_AUDIOCOMMAND_ERROR 3 |
|
#define | AUDIOLIB_ECODE_FILEACCESS_ERROR 4 |
|
#define | AUDIOLIB_ECODE_FILEEND 5 |
|
#define | AUDIOLIB_ECODE_BUFFER_AREA_ERROR 6 |
|
#define | AUDIOLIB_ECODE_BUFFER_SIZE_ERROR 7 |
|
#define | AUDIOLIB_ECODE_INSUFFICIENT_BUFFER_AREA 8 |
|
#define | AUDIOLIB_ECODE_WAV_PARSE_ERROR 9 |
|
#define | AUDIOLIB_ECODE_PARAMETER_ERROR 10 |
|
|
typedef unsigned int | err_t |
|
|
void | outputDeviceCallback (uint32_t) |
|
API for using Audio.
◆ FIFO_FRAME_SIZE
Value: (\
(WRITE_BUF_SIZE > READ_BUF_SIZE) ?\
(WRITE_FIFO_FRAME_SIZE) : (READ_FIFO_FRAME_SIZE)\
)
◆ SIMPLE_FIFO_BUF_SIZE
#define SIMPLE_FIFO_BUF_SIZE |
Value: (\
((WRITE_BUF_SIZE) > (READ_BUF_SIZE)) ? \
(WRITE_BUF_SIZE) : (READ_BUF_SIZE)\
)
◆ AUDIOLIB_ECODE_OK
#define AUDIOLIB_ECODE_OK 0 |
Audio Library Error Code Definitions. Execution result OK
◆ err_t
typedef unsigned int err_t |
Audio Library Type Definitions.