36#ifndef __INCLUDE_AUDIOLITE_COMPONENT_H
37#define __INCLUDE_AUDIOLITE_COMPONENT_H
43#include <nuttx/config.h>
45#include <audiolite/al_nodecomm.h>
46#include <audiolite/al_inputnode.h>
47#include <audiolite/al_outputnode.h>
62 mossfw_callback_op_t *_op;
69 static int operate_cb(mossfw_callback_op_t *op,
unsigned long arg);
70 void set_operatorname(
const char *name);
74 return (_ins && _innum > no) ? _ins[no]->pop_data(used) : NULL;
79 if (_outs && _outnum > no)
return _outs[no]->push_data(mem);
94 int stack_sz = CONFIG_PTHREAD_STACK_DEFAULT);
111 void data_came(mossfw_callback_op_t *op);
114 virtual void on_data();
126 int publish_event(
int evtid,
unsigned long arg);
129 int samplebitwidth();
142 virtual void suspend();
143 virtual int resume();
Definition: al_component.h:58
Definition: al_memalloc.h:112
Definition: al_memalloc.h:97
Definition: al_nodecomm.h:57
Definition: al_outputnode.h:65