Lines Matching refs:tracks
76 static struct track *tracks; variable
477 tracks = calloc(num_tracks, sizeof(struct track)); in read_smf()
478 if (!tracks) { in read_smf()
552 if (!read_track(&tracks[i], file_offset + len)) in read_smf()
599 event = tracks[i].first_event; in cleanup_file_data()
607 free(tracks); in cleanup_file_data()
608 tracks = NULL; in cleanup_file_data()
650 if (tracks[i].end_tick > max_tick) in play_midi()
651 max_tick = tracks[i].end_tick; in play_midi()
656 tracks[i].current_event = tracks[i].first_event; in play_midi()
676 struct track *track = &tracks[i]; in play_midi()