Developer World
Spresense SDK Library v3.3.0-375c679
audiolite_mp3dec Class Reference
Inheritance diagram for audiolite_mp3dec:
Collaboration diagram for audiolite_mp3dec:

Public Member Functions

int start_decode ()
 
int stop_decode ()
 
int pause_decode ()
 
int resume_decode ()
 
- Public Member Functions inherited from audiolite_decoder
 audiolite_decoder (const char *name, int prio=-1, int stack_sz=-1)
 
int start ()
 
void stop ()
 
void pause ()
 
int resume ()
 
virtual int start_decode ()=0
 
virtual int stop_decode ()=0
 
virtual int pause_decode ()=0
 
virtual int resume_decode ()=0
 
void set_stream (audiolite_stream *st)
 
void set_outputmempool (audiolite_mempoolapbuf *pool)
 
- Public Member Functions inherited from audiolite_component
 audiolite_component (int inputnum=1, int outputnum=1, int depth=16, bool is_sync=true, int prio=105, int stack_sz=CONFIG_PTHREAD_STACK_DEFAULT)
 
void set_mempool (audiolite_mempool *pool)
 
int start (audiolite_inputnode *node)
 
void cancel (audiolite_inputnode *node)
 
void stop (audiolite_inputnode *node)
 
void reflesh (audiolite_inputnode *node)
 
int start (audiolite_outputnode *node)
 
void cancel (audiolite_outputnode *node)
 
void stop (audiolite_outputnode *node)
 
void reflesh (audiolite_outputnode *node)
 
void data_came (mossfw_callback_op_t *op)
 
virtual bool can_breakdata (audiolite_outputnode *out)
 
virtual void on_data ()
 
virtual int on_starting (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
virtual void on_started (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
virtual void on_canceled (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
virtual void on_stopping (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
virtual void on_stop (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
int publish_event (int evtid, unsigned long arg)
 
int samplingrate ()
 
int channels ()
 
int samplebitwidth ()
 
audiolite_inputnodeget_input (int id=0)
 
audiolite_outputnodeget_output (int id=0)
 
audiolite_componentbind (audiolite_component *cmp)
 
int bind (audiolite_inputnode *in, int outid=0)
 
int unbind (audiolite_inputnode *in)
 
int unbindall ()
 
virtual int start ()
 
virtual void stop ()
 
virtual void suspend ()
 
virtual int resume ()
 
virtual int start (audiolite_inputnode *node)=0
 
virtual void cancel (audiolite_inputnode *node)=0
 
virtual void stop (audiolite_inputnode *node)=0
 
virtual int start (audiolite_outputnode *node)=0
 
virtual void cancel (audiolite_outputnode *node)=0
 
virtual void stop (audiolite_outputnode *node)=0
 
virtual void reflesh (audiolite_inputnode *node)=0
 
virtual void reflesh (audiolite_outputnode *node)=0
 

Protected Member Functions

void decode_runner ()
 
- Protected Member Functions inherited from audiolite_decoder
int start_thread (const char *name)
 
void stop_thread ()
 
virtual void decode_runner ()=0
 
- Protected Member Functions inherited from audiolite_component
int search_inputidx (audiolite_inputnode *node)
 
void set_operatorname (const char *name)
 
audiolite_mempop_data (int no=0, int *used=NULL)
 
int push_data (audiolite_mem *mem, int no=0)
 

Additional Inherited Members

- Static Protected Member Functions inherited from audiolite_decoder
static void * inject_worker (void *arg)
 
- Static Protected Member Functions inherited from audiolite_component
static int operate_cb (mossfw_callback_op_t *op, unsigned long arg)
 
- Protected Attributes inherited from audiolite_decoder
audiolite_stream_stream
 
audiolite_mempoolapbuf_omempool
 
int _prio
 
int _stacksz
 
mossfw_thread_t _tid
 
const char * _tname
 
volatile bool _isplay
 
volatile bool _ispause
 
volatile bool _is_thrdrun
 
- Protected Attributes inherited from audiolite_component
audiolite_inputnode ** _ins
 
audiolite_outputnode ** _outs
 
mossfw_callback_op_t * _op
 
audiolite_mempool_pool
 
int _innum
 
int _outnum
 
int _state
 

Member Function Documentation

◆ decode_runner()

void decode_runner ( )
protectedvirtual

Implements audiolite_decoder.

◆ start_decode()

int start_decode ( )
virtual

Implements audiolite_decoder.

◆ stop_decode()

int stop_decode ( )
virtual

Implements audiolite_decoder.

◆ pause_decode()

int pause_decode ( )
inlinevirtual

Implements audiolite_decoder.

◆ resume_decode()

int resume_decode ( )
inlinevirtual

Implements audiolite_decoder.


The documentation for this class was generated from the following file: