36#ifndef __INCLUDE_AUDIOLITE_EVTHANDLER_H
37#define __INCLUDE_AUDIOLITE_EVTHANDLER_H
43#include <nuttx/queue.h>
44#include <audiolite/al_singleton.h>
45#include <audiolite/al_eventlistener.h>
46#include <audiolite/al_memalloc.h>
72 mossfw_input_t *_receiver;
73 mossfw_output_t *_accepter;
74 mossfw_callback_op_t *_op;
79 static int event_handler(mossfw_callback_op_t *op,
unsigned long arg);
85 int set_systemparam(
int fs,
int bitwidth,
int chnum);
88 int get_fs(){
return _fs; };
89 int get_chnum(){
return _chnum; };
90 int get_bitwidth(){
return _bitwidth; };
98int audiolite_set_systemparam(
int fs,
int chnum,
int bitwidth);
99void audiolite_eventdestroy();
Definition: al_component.h:58
Definition: al_eventlistener.h:90
Definition: al_evthandler.h:63
Definition: al_memalloc.h:250