openbsd-ports/audio/tracker/patches/patch-ah
espie 65dc494456 True tracker port, with native OpenBSD audio, synchronization of the display
with sounds, numerous minor bug-fix, and authorization to redistribute.
1998-10-02 17:19:44 +00:00

21 lines
480 B
Plaintext

diff -u -r w2/tracker/display.c work/tracker/display.c
--- w2/tracker/display.c Mon May 6 16:28:52 1996
+++ work/tracker/display.c Sun Sep 27 21:02:33 1998
@@ -543,7 +543,14 @@
copy3(note2name(note));
copy4(" off");
if (ch->samp->length)
- num3(para * 25600/ch->samp->length);
+ {
+ int percent;
+ percent = para * 25600/ch->samp->length;
+ if (percent <= 105)
+ num3(percent);
+ else
+ copy3("???");
+ }
else
copy3(empty);
*base++ = '%';