Home
last modified time | relevance | path

Searched refs:RIFFsize (Results 1 – 1 of 1) sorted by relevance

/third_party/libsnd/src/
Dwav.c295 uint32_t marker, chunk_size = 0, RIFFsize = 0, done = 0 ; in wav_read_header() local
336 RIFFsize = chunk_size ; in wav_read_header()
338 if (psf->fileoffset > 0 && psf->filelength > RIFFsize + 8) in wav_read_header()
340 psf->filelength = RIFFsize + 8 ; in wav_read_header()
342 psf_log_printf (psf, "RIFF : %u\n", RIFFsize) ; in wav_read_header()
344 psf_log_printf (psf, "RIFX : %u\n", RIFFsize) ; in wav_read_header()
346 else if (psf->filelength < RIFFsize + 2 * SIGNED_SIZEOF (marker)) in wav_read_header()
348 …psf_log_printf (psf, "RIFF : %u (should be %D)\n", RIFFsize, psf->filelength - 2 * SIGNED_SIZEOF (… in wav_read_header()
350 …psf_log_printf (psf, "RIFX : %u (should be %D)\n", RIFFsize, psf->filelength - 2 * SIGNED_SIZEOF (… in wav_read_header()
352 RIFFsize = psf->filelength - 2 * SIGNED_SIZEOF (RIFFsize) ; in wav_read_header()
[all …]