31 set(delay_milliseconds
);
40 void set(
unsigned int delay_milliseconds)
42 ticks = (
unsigned long)(AUDIO_TICKS_PER_MILLISECOND*delay_milliseconds);
53 deadline=audioTicks()+ticks;
61 void start(
unsigned int delay_milliseconds)
63 set(delay_milliseconds
);
75 return(audioTicks()>=deadline);
81 unsigned long deadline;
85 const float AUDIO_TICKS_PER_MILLISECOND;