Developer World
Spresense SDK Library v3.2.0-ebc0364
audiolite_outputcomp Class Reference
Inheritance diagram for audiolite_outputcomp:
Collaboration diagram for audiolite_outputcomp:

Public Member Functions

 audiolite_outputcomp (bool is_sub=false)
 
int set_volume (int vol)
 
bool can_breakdata (audiolite_outputnode *out)
 
void on_data ()
 
int on_starting (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
void on_started (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
void on_canceled (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
void on_stop (audiolite_inputnode *inode, audiolite_outputnode *onode)
 
void on_pusheddata (FAR struct ap_buffer_s *apb)
 
void on_stopped (void)
 
void on_underflowed (void)
 
void on_popeddata (struct ap_buffer_s *apb)
 
void on_overflowed (void)
 
- Public Member Functions inherited from audiolite_component
 audiolite_component (int inputnum=1, int outputnum=1, int depth=16, bool is_sync=true, int prio=-1, int stack_sz=-1)
 
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)
 
int bind (audiolite_component *cmp)
 
int bind (audiolite_inputnode *in, int outid=0)
 
int unbind (audiolite_inputnode *in)
 
int unbindall ()
 
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
 
- Public Member Functions inherited from audiolite_drvlistener
virtual void on_pusheddata (FAR struct ap_buffer_s *apb)=0
 
virtual void on_popeddata (FAR struct ap_buffer_s *apb)=0
 
virtual void on_stopped (void)=0
 
virtual void on_overflowed (void)=0
 
virtual void on_underflowed (void)=0
 

Additional Inherited Members

- 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)
 
- 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_component
audiolite_inputnode ** _ins
 
audiolite_outputnode ** _outs
 
mossfw_callback_op_t * _op
 
audiolite_mempool_pool
 
int _innum
 
int _outnum
 
int _state
 

Member Function Documentation

◆ can_breakdata()

bool can_breakdata ( audiolite_outputnode out)
inlinevirtual

Reimplemented from audiolite_component.

◆ on_data()

void on_data ( )
virtual

Reimplemented from audiolite_component.

◆ on_starting()

int on_starting ( audiolite_inputnode inode,
audiolite_outputnode onode 
)
virtual

Reimplemented from audiolite_component.

◆ on_started()

void on_started ( audiolite_inputnode inode,
audiolite_outputnode onode 
)
virtual

Reimplemented from audiolite_component.

◆ on_canceled()

void on_canceled ( audiolite_inputnode inode,
audiolite_outputnode onode 
)
virtual

Reimplemented from audiolite_component.

◆ on_stop()

void on_stop ( audiolite_inputnode inode,
audiolite_outputnode onode 
)
virtual

Reimplemented from audiolite_component.

◆ on_pusheddata()

void on_pusheddata ( FAR struct ap_buffer_s *  apb)
virtual

Implements audiolite_drvlistener.

◆ on_stopped()

void on_stopped ( void  )
virtual

Implements audiolite_drvlistener.

◆ on_underflowed()

void on_underflowed ( void  )
virtual

Implements audiolite_drvlistener.

◆ on_overflowed()

void on_overflowed ( void  )
inlinevirtual

Implements audiolite_drvlistener.


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