Lines Matching refs:bytewidth
73 psf->blockwidth = psf->bytewidth * psf->sf.channels ;
186 sscanf (cptr, "sample_n_bytes -i %d", &(psf->bytewidth)) ;
199 { if (psf->bytewidth == 0)
200 psf->bytewidth = bytes ;
201 else if (psf->bytewidth - bytes != 0)
202 { psf_log_printf (psf, "psf->bytewidth (%d) != bytes (%d)\n", psf->bytewidth, bytes) ;
227 psf->blockwidth = psf->sf.channels * psf->bytewidth ;
233 { switch (psf->bytewidth)
302 if (psf->bytewidth > 0)
303 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ;
333 psf_asciiheader_printf (psf, "sample_n_bytes -i %d\n", psf->bytewidth) ;
334 psf_asciiheader_printf (psf, "sample_sig_bits -i %d\n", psf->bytewidth * 8) ;
336 "sample_byte_format -s%d %s\n", psf->bytewidth, end_str) ;