Lines Matching refs:chunk_size
228 sf_count_t chunk_size, bytesread = 0 ; in w64_read_header() local
244 marker = chunk_size = 0 ; in w64_read_header()
245 bytesread = psf_binheader_readf (psf, "eh8", &marker, &chunk_size) ; in w64_read_header()
253 if (psf->filelength != chunk_size) in w64_read_header()
254 psf_log_printf (psf, "riff : %D (should be %D)\n", chunk_size, psf->filelength) ; in w64_read_header()
256 psf_log_printf (psf, "riff : %D\n", chunk_size) ; in w64_read_header()
267 chunk_size = 0 ; in w64_read_header()
278 psf_log_printf (psf, " fmt : %D\n", chunk_size) ; in w64_read_header()
281 chunk_size -= 24 ; in w64_read_header()
283 if ((error = wavlike_read_fmt_chunk (psf, (int) chunk_size))) in w64_read_header()
286 if (chunk_size % 8) in w64_read_header()
287 psf_binheader_readf (psf, "j", 8 - (chunk_size % 8)) ; in w64_read_header()
291 chunk_size = 0 ; in w64_read_header()
299 chunk_size, frames) ; in w64_read_header()
301 chunk_size = 0 ; in w64_read_header()
310 psf->datalength = SF_MIN (chunk_size - 24, psf->filelength - psf->dataoffset) ; in w64_read_header()
312 if (chunk_size % 8) in w64_read_header()
313 chunk_size += 8 - (chunk_size % 8) ; in w64_read_header()
315 psf_log_printf (psf, "data : %D\n", chunk_size) ; in w64_read_header()
323 psf_fseek (psf, chunk_size, SEEK_CUR) ; in w64_read_header()
324 chunk_size = 0 ; in w64_read_header()
328 psf_log_printf (psf, "levl : %D\n", chunk_size) ; in w64_read_header()
332 psf_log_printf (psf, "list : %D\n", chunk_size) ; in w64_read_header()
336 psf_log_printf (psf, "junk : %D\n", chunk_size) ; in w64_read_header()
340 psf_log_printf (psf, "bext : %D\n", chunk_size) ; in w64_read_header()
344 psf_log_printf (psf, "marker : %D\n", chunk_size) ; in w64_read_header()
348 psf_log_printf (psf, "summary list : %D\n", chunk_size) ; in w64_read_header()
352 …position %D with length %D. Skipping and continuing.\n", marker, psf_ftell (psf) - 8, chunk_size) ; in w64_read_header()
356 if (chunk_size >= psf->filelength) in w64_read_header()
357 …{ psf_log_printf (psf, "*** Chunk size %u > file length %D. Exiting parser.\n", chunk_size, psf->f… in w64_read_header()
367 if (chunk_size > 0 && chunk_size < 0xffff0000) in w64_read_header()
368 { dword = chunk_size ; in w64_read_header()