static void record_tick(t_record *x) { double timesince = clock_gettimesince(x->x_clocklasttick); if (timesince >= RECORD_REDRAWPAUSE) { arsic_redraw((t_arsic *)x); x->x_clocklasttick = clock_getlogicaltime(); } else clock_delay(x->x_clock, RECORD_REDRAWPAUSE - timesince); }
static void peek_tick(t_peek *x) { arsic_redraw((t_arsic *)x); /* LATER redraw only dirty channel(s!) */ x->x_clockset = 0; x->x_clocklasttick = clock_getlogicaltime(); }
static void poke_bang(t_poke *x) { arsic_redraw((t_arsic *)x); }