Lines Matching defs:count
363 * the count will be changed and may begin from 0 each pattern period.
368 * count - the sample from the beginning of the pattern (phase)
377 int index, count, start, num;
391 count = tone->count; /* gives current sample */
399 count = 0;
403 if (count < pat->seq[index])
408 count -= pat->seq[index];
412 start = count % (*(pat->siz[index]));
414 if (num + count > pat->seq[index])
415 num = pat->seq[index] - count;
422 count += num;
426 tone->count = count;
534 tonet->count = 0;