Lines Matching refs:sf
84 if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_MAT4)
87 subformat = SF_CODEC (psf->sf.format) ;
93 psf->endian = SF_ENDIAN (psf->sf.format) ;
107 psf->blockwidth = psf->bytewidth * psf->sf.channels ;
159 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ;
162 encoding = mat4_format_to_encoding (SF_CODEC (psf->sf.format), psf->endian) ;
173 samplerate = psf->sf.samplerate ;
178 psf_binheader_writef (psf, "tEm484", BHWm (encoding), BHW4 (psf->sf.channels), BHW8 (psf->sf.frames), BHW4 (0)) ;
184 psf_binheader_writef (psf, "tem484", BHWm (encoding), BHW4 (psf->sf.channels), BHW8 (psf->sf.frames), BHW4 (0)) ;
251 psf->sf.samplerate = psf_lrint (value) ;
284 psf->sf.channels = rows ;
285 psf->sf.frames = cols ;
287 psf->sf.format = psf->endian | SF_FORMAT_MAT4 ;
291 psf->sf.format |= SF_FORMAT_DOUBLE ;
297 psf->sf.format |= SF_FORMAT_FLOAT ;
303 psf->sf.format |= SF_FORMAT_PCM_32 ;
309 psf->sf.format |= SF_FORMAT_PCM_16 ;
318 if ((psf->filelength - psf->dataoffset) < psf->sf.channels * psf->sf.frames * psf->bytewidth)
320 psf->filelength - psf->dataoffset, psf->sf.channels * psf->sf.frames * psf->bytewidth) ;
322 else if ((psf->filelength - psf->dataoffset) > psf->sf.channels * psf->sf.frames * psf->bytewidth)
327 psf->sf.sections = 1 ;