Lines Matching full:tick
24 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution()
30 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; in snd_seq_timer_set_tick_resolution()
31 tmr->tick.resolution += s; in snd_seq_timer_set_tick_resolution()
33 if (tmr->tick.resolution <= 0) in snd_seq_timer_set_tick_resolution()
34 tmr->tick.resolution = 1; in snd_seq_timer_set_tick_resolution()
35 snd_seq_timer_update_tick(&tmr->tick, 0); in snd_seq_timer_set_tick_resolution()
105 tmr->tick.cur_tick = 0; in seq_timer_reset()
106 tmr->tick.fraction = 0; in seq_timer_reset()
149 /* calculate current tick */ in snd_seq_timer_interrupt()
150 snd_seq_timer_update_tick(&tmr->tick, resolution); in snd_seq_timer_interrupt()
206 /* set current tick position */
216 tmr->tick.cur_tick = position; in snd_seq_timer_set_position_tick()
217 tmr->tick.fraction = 0; in snd_seq_timer_set_position_tick()
460 /* TODO: use interpolation on tick queue (will only be useful for very
468 cur_tick = tmr->tick.cur_tick; in snd_seq_timer_get_cur_tick()