Home
last modified time | relevance | path

Searched refs:time_division (Results 1 – 2 of 2) sorted by relevance

/third_party/alsa-utils/seq/aplaymidi/
Daplaymidi.c454 int header_len, type, time_division, i, err; in read_smf() local
484 time_division = read_int(2); in read_smf()
485 if (time_division < 0) in read_smf()
490 smpte_timing = !!(time_division & 0x8000); in read_smf()
494 snd_seq_queue_tempo_set_ppq(queue_tempo, time_division); in read_smf()
497 i = 0x80 - ((time_division >> 8) & 0x7f); in read_smf()
499 time_division &= 0xff; in read_smf()
504 snd_seq_queue_tempo_set_ppq(queue_tempo, 12 * time_division); in read_smf()
508 snd_seq_queue_tempo_set_ppq(queue_tempo, 10 * time_division); in read_smf()
512 snd_seq_queue_tempo_set_ppq(queue_tempo, 2997 * time_division); in read_smf()
[all …]
Darecordmidi.c623 int used_tracks, time_division, i; in write_file() local
639 time_division = ticks; in write_file()
641 time_division |= (0x100 - frames) << 8; in write_file()
642 fputc(time_division >> 8, file); in write_file()
643 fputc(time_division & 0xff, file); in write_file()