blob: e2cfccd32d451ec10297314b5dfde716d2e4265f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ag,v 1.1 2005/11/09 06:35:25 ben Exp $
--- csound/diskin.c.orig 2005-03-16 09:08:15.000000000 -0800
+++ csound/diskin.c
@@ -267,7 +267,7 @@ void newsndinset(SOUNDINEW *p) /*
/* should go in SOUNDINEW struct eventually */
long snewbufsize = SNDINEWBUFSIZ;
- if (*p->skipinit != FL(0.0)) return;
+ if (p->skipinit != NULL && *p->skipinit != FL(0.0)) return;
if (skiptime < 0) {
warning(Str(X_1460,"negative skip time, substituting zero."));
skiptime = FL(0.0);
|