Lines Matching defs:ppq
70 static int ppq = 96;
98 return local_secs + ((double) (tick - local_ticks) * (double) local_tempo * 1.0E-6 / (double) ppq);
155 printf("smf format %d, %d tracks, %d ppq\n", format, ntracks, division);
156 ppq = division;
164 /* set the ppq */
166 /* ppq must be set before starting the timer */
171 if ((slave_ppq = snd_seq_queue_tempo_get_ppq(tempo)) != ppq) {
172 snd_seq_queue_tempo_set_ppq(tempo, ppq);
178 printf("different PPQ %d in SMF from queue PPQ %d\n", ppq, slave_ppq);
180 slave_ppq = ppq;
209 if (ppq != slave_ppq)
210 currtime = (currtime * slave_ppq) / ppq;
214 if (ppq != slave_ppq)
215 currtime = (currtime * slave_ppq) / ppq;