Lines Matching refs:datalength
93 psf->sf.frames = psf->datalength / psf->blockwidth ; in svx_open()
216 psf->datalength = chunk_size ; in svx_read_header()
222 if (psf->datalength > psf->filelength - psf->dataoffset) in svx_read_header()
223 …{ psf_log_printf (psf, " BODY : %D (should be %D)\n", psf->datalength, psf->filelength - psf->data… in svx_read_header()
224 psf->datalength = psf->filelength - psf->dataoffset ; in svx_read_header()
227 psf_log_printf (psf, " BODY : %D\n", psf->datalength) ; in svx_read_header()
234 psf_fseek (psf, psf->datalength, SEEK_CUR) ; in svx_read_header()
352 psf->datalength = psf->filelength - psf->dataoffset ; in svx_write_header()
355 psf->datalength -= psf->filelength - psf->dataend ; in svx_write_header()
357 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in svx_write_header()
386 psf_binheader_writef (psf, "Etm8", BHWm (BODY_MARKER), BHW8 ((psf->datalength < 0) ? in svx_write_header()
387 psf->datalength * 0 : psf->datalength)) ; in svx_write_header()