Lines Matching defs:channels

64 	int				samplerate, channels, bitwidth ;
129 psf->blockwidth = psf->bytewidth * psf->sf.channels ;
266 psf->sf.channels = 1 ;
291 { psf->sf.channels = 2 ;
295 { psf->sf.channels = 1 ;
337 { unsigned char bitwidth, channels ;
341 &bitwidth, &channels, &encoding, &fourbytes) ;
354 " channels : %d\n", psf->sf.samplerate, bitwidth, channels) ;
366 psf->sf.channels = channels ;
434 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ;
455 if (subformat == SF_FORMAT_PCM_U8 && psf->sf.channels == 1)
462 else if (subformat == SF_FORMAT_PCM_U8 && psf->sf.channels == 2)
482 if (psf->sf.channels < 1 || psf->sf.channels > 2)
488 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ;
490 psf_binheader_writef (psf, "e1341124", BHW1 (VOC_EXTENDED_II), BHW3 (length), BHW4 (psf->sf.samplerate), BHW1 (16), BHW1 (psf->sf.channels), BHW2 (4), BHW4 (0)) ;
495 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ;
497 psf_binheader_writef (psf, "e1341124", BHW1 (VOC_EXTENDED_II), BHW3 (length), BHW4 (psf->sf.samplerate), BHW1 (16), BHW1 (psf->sf.channels), BHW2 (4), BHW4 (0)) ;
502 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ;
503 psf_binheader_writef (psf, "e1341124", BHW1 (VOC_EXTENDED_II), BHW3 (length), BHW4 (psf->sf.samplerate), BHW1 (8), BHW1 (psf->sf.channels), BHW2 (6), BHW4 (0)) ;
508 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ;
509 psf_binheader_writef (psf, "e1341124", BHW1 (VOC_EXTENDED_II), BHW3 (length), BHW4 (psf->sf.samplerate), BHW1 (8), BHW1 (psf->sf.channels), BHW2 (7), BHW4 (0)) ;
734 Multi DAC = 3+(# of channels) [interesting--
755 Byte 5: Number of channels (e.g. 1 for mono, 2 for stereo)
841 Multi DAC = 3+(# of channels) [interesting--