Lines Matching defs:count
374 "*** Frame count read from 'COMM' chunk (%u) not equal to frame count\n"
620 { uint16_t count, id, len ;
626 bytes -= psf_binheader_readf (psf, "E2", &count) ;
627 psf_log_printf (psf, " %M : %d\n count : %d\n", marker, chunk_size, count) ;
629 for (k = 0 ; k < count ; k++)
758 psf->instrument->loops [0].count = 0 ;
772 psf->instrument->loops [1].count = 0 ;
942 { /* This simply copies the information in cues above loop positions and writes it at current count instead */
1236 if (psf->file.mode == SFM_RDWR && psf->dataoffset > 0 && psf->rchunks.count > 0)
1448 /* Here we count how many bytes will the pascal strings need */
1450 { stringLength = strlen (psf->cues->cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */
1653 int count ;
1669 for (count = 0 ; count < 32 ; count ++)
1675 num = count < 31 ? num << (count + 1) : 0 ;
1676 bytes [1] = 29 - count ;
1688 int count ;
1690 count = psf_binheader_readf (psf, "E442", &bc.version, &bc.numBeats, &bc.rootNote) ;
1691 count += psf_binheader_readf (psf, "E222", &bc.scaleType, &bc.sigNumerator, &bc.sigDenominator) ;
1692 count += psf_binheader_readf (psf, "E2j", &bc.loopType, datasize - sizeof (bc)) ;
1750 if (count < datasize)
1751 psf_binheader_readf (psf, "j", datasize - count) ;