2 #include "AudioConfig.h"
4 #include "AudioTools/CoreAudio/AudioTypes.h"
14 typedef void (*repeating_timer_callback_t)(
void* obj);
18 TimerCallbackInThread,
26 virtual bool begin(repeating_timer_callback_t callback_f, uint32_t time,
28 virtual bool end() {
return false; };
30 void setCallbackParameter(
void* obj) {
object = obj; }
32 void* callbackParameter() {
return object; }
34 virtual void setTimer(
int timer) {}
35 virtual void setTimerFunction(TimerFunction
function = DirectTimerCallback) {}
40 void*
object =
nullptr;
43 return TimeUnitStr[(int)unit];
TimeUnit
Time Units.
Definition: AudioTypes.h:45