Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/csound/csound into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Mar 18, 2019
2 parents d7754a9 + e5d212d commit d527a61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Engine/fgens.c
Expand Up @@ -2649,10 +2649,12 @@ static int gen01raw(FGDATA *ff, FUNC *ftp)
/* printf("****line %d\n" , __LINE__); */
snprintf(p->sfname, 512, "soundin.%d", filno); /* soundin.filno */
}
/* printf("****line %d: sfname=%s\n" , __LINE__, p->sfname); */
//printf("****line %d: sfname=%s\n" , __LINE__, p->sfname);
if (UNLIKELY(fmt < -9 || fmt > 9))
return fterror(ff, Str("invalid sample format: %d"), fmt);
p->format = gen01_format_table[fmt];
if (fmt<0)
p->format = -gen01_format_table[-fmt];
else p->format = 0;
}
p->skiptime = ff->e.p[6];
p->channel = (int) MYFLT2LRND(ff->e.p[8]);
Expand Down

0 comments on commit d527a61

Please sign in to comment.