Home | History | Annotate | Download | only in midiplay

Lines Matching defs:track

53 struct track {
54 struct track *indirect; /* for fast swaps in heap code */
78 "", "Text", "Copyright", "Track", "Instrument",
97 static u_long getvar(struct track *);
98 static u_long getlen(struct track *);
102 static void Heapify(struct track *, int, int);
103 static void BuildHeap(struct track *, int);
104 static int ShrinkHeap(struct track *, int);
190 getvar(struct track *tp)
203 getlen(struct track *tp)
208 errx(1, "bogus item length exceeds remaining track size");
409 struct track *tracks;
410 struct track *tp;
532 tracks = malloc(ntrks * sizeof(struct track));
537 warnx("Cannot find track %d", t);
542 warnx("Crazy track length");
565 * Play MIDI events by selecting the track with the lowest
577 printf("DELAY %4ld TRACK %2td%s",
690 ntrks = ShrinkHeap(tracks, ntrks); /* track gone */
827 * 2. When an event is dequeued from a track, the delta time of the new head
830 * 3. After dequeueing the head event from the track at heap root, the next
842 struct track *_t = t[i].indirect; \
848 Heapify(struct track *t, int ntrks, int node)
880 BuildHeap(struct track *t, int ntrks)
889 * Make the heap 1 item smaller by discarding the track at the root. Move the
894 ShrinkHeap(struct track *t, int ntrks)