comparison minijss/jssmod.c @ 2281:167ec99e57a5

Initialize JSSPattern::used[] values to TRUE.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Jun 2019 12:31:17 +0300
parents fc58f62f100c
children 69a5af2eb1ea
comparison
equal deleted inserted replaced
2280:7fb5470b5d45 2281:167ec99e57a5
382 JSSERROR(DMERR_MALLOC, NULL, "Could not allocate pattern map (nchannels=%d).\n", 382 JSSERROR(DMERR_MALLOC, NULL, "Could not allocate pattern map (nchannels=%d).\n",
383 nchannels); 383 nchannels);
384 } 384 }
385 385
386 for (int chn = 0; chn < nchannels; chn++) 386 for (int chn = 0; chn < nchannels; chn++)
387 {
387 pattern->map[chn] = chn; 388 pattern->map[chn] = chn;
389 pattern->used[chn] = TRUE;
390 }
388 391
389 return pattern; 392 return pattern;
390 } 393 }
391 394
392 395