openbsd-ports/audio/tracker/patches/patch-ag
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

17 lines
572 B
Plaintext

diff -u -r w2/tracker/Modules/Pro/effects.c work/tracker/Modules/Pro/effects.c
--- w2/tracker/Modules/Pro/effects.c Sat Apr 13 19:16:54 1996
+++ work/tracker/Modules/Pro/effects.c Sun Sep 27 19:44:20 1998
@@ -207,8 +207,9 @@
/* temporary update of only the step value,
* note that we do not change the saved pitch.
*/
- set_temp_pitch(ch,
- ch->pitch + sinusoid_value(&(ch->vib))/256);
+ if (ch->pitch)
+ set_temp_pitch(ch,
+ ch->pitch + sinusoid_value(&(ch->vib))/256);
}
LOCAL void set_vibrato(struct channel *ch, struct event *e)