1#ifndef __INCLUDE_AUDIOLITE_WORKERCOMP_H
2#define __INCLUDE_AUDIOLITE_WORKERCOMP_H
8#include <audiolite/al_component.h>
9#include <audiolite/al_worker.h>
10#include <audiolite/al_thread.h>
16#define WORKERCOMP_SPKNAMESZ (32)
47 int id,
int chs,
int fs,
int layer,
int rate)
72 push_data(wcomp, mem);
90 char _workerspk[WORKERCOMP_SPKNAMESZ];
95 bool _worker_terminated;
113 int stack_sz = 2048);
124 virtual void on_data();
134 virtual bool before_start(
void *arg);
135 virtual int run(
void *arg);
136 virtual void before_stop(
void *arg);
Definition al_component.h:58
Definition al_memalloc.h:156
Definition al_outputnode.h:65
Definition al_thread.h:21
Definition al_workercomp.h:29
Definition al_thread.h:47
Definition al_worker.h:101
Definition al_workercomp.h:88
Definition al_worker.h:74
Definition alworker_comm.h:183
Definition alworker_comm.h:133
Definition alworker_comm.h:146