Lines Matching refs:sf
114 if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_AU) in au_open()
117 subformat = SF_CODEC (psf->sf.format) ; in au_open()
120 { psf->endian = SF_ENDIAN (psf->sf.format) ; in au_open()
134 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in au_open()
166 psf->sf.seekable = SF_FALSE ; in au_open()
171 psf->sf.seekable = SF_FALSE ; in au_open()
176 psf->sf.seekable = SF_FALSE ; in au_open()
216 encoding = au_format_to_encoding (SF_CODEC (psf->sf.format)) ; in au_write_header()
243 …(psf, "E4444", BHW4 (datalength), BHW4 (encoding), BHW4 (psf->sf.samplerate), BHW4 (psf->sf.channe… in au_write_header()
247 …(psf, "e4444", BHW4 (datalength), BHW4 (encoding), BHW4 (psf->sf.samplerate), BHW4 (psf->sf.channe… in au_write_header()
342 psf->sf.samplerate = au_fmt.samplerate ; in au_read_header()
343 psf->sf.channels = au_fmt.channels ; in au_read_header()
347 psf->sf.format = SF_FORMAT_AU ; in au_read_header()
349 psf->sf.format = SF_ENDIAN_LITTLE | SF_FORMAT_AU ; in au_read_header()
353 psf->sf.format = SF_ENDIAN (psf->sf.format) ; in au_read_header()
357 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_ULAW ; in au_read_header()
363 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_PCM_S8 ; in au_read_header()
369 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_PCM_16 ; in au_read_header()
375 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_PCM_24 ; in au_read_header()
381 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_PCM_32 ; in au_read_header()
387 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_FLOAT ; in au_read_header()
393 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_DOUBLE ; in au_read_header()
399 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_ALAW ; in au_read_header()
405 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_G721_32 ; in au_read_header()
411 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_G723_24 ; in au_read_header()
417 psf->sf.format |= SF_FORMAT_AU | SF_FORMAT_G723_40 ; in au_read_header()
447 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in au_read_header()
449 if (! psf->sf.frames && psf->blockwidth) in au_read_header()
450 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in au_read_header()