Lines Matching refs:ppq
27 tmr->tick.resolution = (tmr->tempo * tmr->tempo_base) / tmr->ppq;
31 s = tmr->tempo % tmr->ppq;
32 s = (s * tmr->tempo_base) / tmr->ppq;
33 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * tmr->tempo_base;
83 tmr->ppq = 96; /* 96 PPQ */
171 /* set current tempo, ppq and base in a shot */
172 int snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq,
179 if (tempo <= 0 || ppq <= 0)
185 if (tmr->running && (ppq != tmr->ppq)) {
186 /* refuse to change ppq on running timers */
188 pr_debug("ALSA: seq: cannot change ppq of a running timer\n");
191 changed = (tempo != tmr->tempo) || (ppq != tmr->ppq);
193 tmr->ppq = ppq;