Developer World
Spresense Arduino Library v3.3.0-b2e6327
MediaPlayer.h File Reference

Mediat Player Class for Arduino on Spresense. More...

#include <audio/audio_high_level_api.h>
#include <audio/utilities/wav_containerformat_parser.h>
#include <memutils/simple_fifo/CMN_SimpleFifo.h>
Include dependency graph for MediaPlayer.h:

Go to the source code of this file.

Classes

class  MediaPlayer
 MediaPlayer Class Definitions. More...
 

Macros

#define MEDIAPLAYER_LOG_DEBUG
 
#define print_err   printf
 
#define print_dbg(...)   printf(__VA_ARGS__)
 
#define MEDIAPLAYER_ECODE_OK   0
 
#define MEDIAPLAYER_ECODE_COMMAND_ERROR   1
 
#define MEDIAPLAYER_ECODE_SIMPLEFIFO_ERROR   2
 
#define MEDIAPLAYER_ECODE_FILEACCESS_ERROR   3
 
#define MEDIAPLAYER_ECODE_FILEEND   4
 
#define MEDIAPLAYER_ECODE_SHARED_MEMORY_ERROR   5
 
#define MEDIAPLAYER_ECODE_WAV_PARSER_ERROR   6
 
#define MEDIAPLAYER_ECODE_BUFFERSIZE_ERROR   7
 
#define MEDIAPLAYER_ECODE_BUFFERALLOC_ERROR   8
 
#define MEDIAPLAYER_BUF_FRAME_NUM   8
 
#define MEDIAPLAYER_BUF_FRAME_SIZE   6144
 
#define MEDIAPLAYER_BUF_SIZE   (MEDIAPLAYER_BUF_FRAME_NUM * MEDIAPLAYER_BUF_FRAME_SIZE)
 

Detailed Description

Mediat Player Class for Arduino on Spresense.

Author
Sony Semiconductor Solutions Corporation

Macro Definition Documentation

◆ MEDIAPLAYER_LOG_DEBUG

#define MEDIAPLAYER_LOG_DEBUG

MediaPlayer log output definition

◆ MEDIAPLAYER_ECODE_OK

#define MEDIAPLAYER_ECODE_OK   0

MediaPlayer Error Code Definitions.