36#ifndef __INCLUDE_AUDIOLITE_DECODER_H
37#define __INCLUDE_AUDIOLITE_DECODER_H
43#include <nuttx/config.h>
44#include <audiolite/al_source.h>
45#include <audiolite/al_stream.h>
63 volatile bool _isplay;
64 volatile bool _ispause;
65 volatile bool _is_thrdrun;
67 int start_thread(
const char *name);
69 virtual void decode_runner() = 0;
71 static void *inject_worker(
void *arg);
75 int prio = -1,
int stack_sz = -1);
83 virtual int start_decode() = 0;
84 virtual int stop_decode() = 0;
85 virtual int pause_decode() = 0;
86 virtual int resume_decode() = 0;
Definition: al_decoder.h:56
Definition: al_source.h:55
Definition: al_stream.h:59