Lines Matching refs:chunkSize
124 unsigned chunkSize = little4u(&chunk[4]); in sf_open_read() local
125 if (chunkSize > remaining) { in sf_open_read()
127 fprintf(stderr, "chunkSize %u > remaining %zu\n", chunkSize, remaining); in sf_open_read()
138 if (chunkSize < 2) { in sf_open_read()
140 fprintf(stderr, "chunkSize %u < 2\n", chunkSize); in sf_open_read()
168 if (chunkSize < minSize) { in sf_open_read()
170 fprintf(stderr, "chunkSize %u < minSize %zu\n", chunkSize, minSize); in sf_open_read()
181 if (chunkSize > minSize) { in sf_open_read()
182 fseek(stream, (long) (chunkSize - minSize), SEEK_CUR); in sf_open_read()
243 handle->remaining = chunkSize / handle->bytesPerFrame; in sf_open_read()
246 if (chunkSize > 0) { in sf_open_read()
247 fseek(stream, (long) chunkSize, SEEK_CUR); in sf_open_read()
252 if (chunkSize > 0) { in sf_open_read()
253 fseek(stream, (long) chunkSize, SEEK_CUR); in sf_open_read()
261 if (chunkSize > 0) { in sf_open_read()
262 fseek(stream, (long) chunkSize, SEEK_CUR); in sf_open_read()
265 remaining -= chunkSize; in sf_open_read()